Fix accent sensitivity in autocompletion
[platal.git] / classes / mmlist.php
index 7062820..0e74f09 100644 (file)
 
 class MMList extends XmlrpcClient
 {
-    function __construct($uid, $pass, $fqdn = null)
+    public function __construct($uid, $pass, $fqdn = null)
     {
         global $globals;
 
         $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');
-        }   
-    }
-
-    function __call($method, $args)
-    {
-        return parent::__call($method, $args);
+        }
     }
 }