While waiting for next release lets use a faster query for ipwatch admin
[platal.git] / classes / mmlist.php
index 63fec4d..0e74f09 100644 (file)
@@ -28,14 +28,9 @@ class MMList extends XmlrpcClient
         $dom = is_null($fqdn) ? $globals->mail->domain : $fqdn;
         $url = "http://$uid:$pass@{$globals->lists->rpchost}:{$globals->lists->rpcport}/$dom";
         parent::__construct($url);
-        if ($globals->debug & 1) {
+        if ($globals->debug & DEBUG_BT) {
             $this->bt = new PlBacktrace('MMList');
-        }   
-    }
-
-    public function __call($method, $args)
-    {
-        return parent::__call($method, $args);
+        }
     }
 }