<?php
/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
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);
+ }
}
}