From: Evan Prodromou Date: Sun, 8 Mar 2009 01:43:59 +0000 (-0800) Subject: you can _so_ leave a group if you're its admin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7d7d78b7f7a5065a866468c2e8b5bd536f56611a;p=quix0rs-gnu-social.git you can _so_ leave a group if you're its admin --- 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; }