constructors are named __construct for php8
[plewww.git] / planetlab / includes / plc_visibletags2.php
index e0aad8f..8bcdb81 100644 (file)
@@ -8,8 +8,8 @@
 class VisibleTags {
   var $api;
   var $type;
-  
-  function VisibleTags ($api,$type) {
+
+  function __construct ($api,$type) {
     $this->api=$api;
     $this->type=$type;
     $this->columns=NULL;