Fix owner deletion on MLs.
authorAnne Limoges <anne.limoges_git@polytechnique.org>
Thu, 13 Mar 2014 21:51:46 +0000 (22:51 +0100)
committerAnne Limoges <anne.limoges_git@polytechnique.org>
Mon, 17 Mar 2014 18:05:09 +0000 (19:05 +0100)
modules/lists.php

index 4e15843..b11a245 100644 (file)
@@ -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);
         }