From 7d7d78b7f7a5065a866468c2e8b5bd536f56611a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 7 Mar 2009 17:43:59 -0800 Subject: [PATCH] you can _so_ leave a group if you're its admin --- actions/leavegroup.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/actions/leavegroup.php b/actions/leavegroup.php index 1d85aa3d52..eb30d0e505 100644 --- a/actions/leavegroup.php +++ b/actions/leavegroup.php @@ -96,12 +96,6 @@ class LeavegroupAction extends Action return false; } - if ($cur->isAdmin($this->group)) { - $this->clientError(_('You may not leave a group while you are its administrator.'), 403); - return false; - - } - return true; }