From: Anne Limoges Date: Thu, 13 Mar 2014 21:51:46 +0000 (+0100) Subject: Fix owner deletion on MLs. X-Git-Tag: xorg/1.1.13~40 X-Git-Url: http://git.polytechnique.org/?p=platal.git;a=commitdiff_plain;h=f78f8e5731630912e476c196ad6e63de7e616d23 Fix owner deletion on MLs. --- diff --git a/modules/lists.php b/modules/lists.php index 4e15843..b11a245 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -794,7 +794,7 @@ class ListsModule extends PLModule S::assert_xsrf_token(); if ($del_owner = User::getSilent(Env::t('del_owner'))) { - $mlist->unsubscribeBulk(array($del_owner->forlifeEmail())); + $mlist->removeOwner($del_owner->forlifeEmail()); } pl_redirect('lists/admin/'.$liste); }