X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Freminder%2Fml.inc.php;h=c5ee8104518ebbd2d5c96535d41b9ba2ca1a6ecc;hb=cafb410fea6f257f45da08631c6cdb5c35f86b17;hp=9732bb22825340d56470f1b0f8ff32288a8412c1;hpb=4b0cb388b3b573048f35d1050c9c459c3090b16c;p=platal.git diff --git a/include/reminder/ml.inc.php b/include/reminder/ml.inc.php index 9732bb2..c5ee810 100644 --- a/include/reminder/ml.inc.php +++ b/include/reminder/ml.inc.php @@ -1,6 +1,6 @@ next()) { if (array_shift($subs) == "$sub@$domain") { - list($sub, $domain) = explode('@', $list); if ($domain != $current_domain) { $current_domain = $domain; - $client = new MMList(S::v('uid'), S::v('password'), $domain); } + $client = new MMList(S::user(), $domain); $client->subscribe($sub); } } @@ -73,7 +72,7 @@ class ReminderMl extends Reminder while (list($sub, $domain) = $res->next()) { if ($current_domain != $domain) { $current_domain = $domain; - $client = new MMList(S::v('uid'), S::v('password'), $domain); + $client = new MMList(S::user(), $domain); } list($details, ) = $client->get_members($sub); $lists["$sub@$domain"] = $details;