]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
you can _so_ leave a group if you're its admin
authorEvan Prodromou <evan@controlyourself.ca>
Sun, 8 Mar 2009 01:43:59 +0000 (17:43 -0800)
committerEvan Prodromou <evan@controlyourself.ca>
Sun, 8 Mar 2009 01:43:59 +0000 (17:43 -0800)
actions/leavegroup.php

index 1d85aa3d521f2e68a1e84760e017a25693e8f017..eb30d0e505977ca8e226230e171468b6bf714551 100644 (file)
@@ -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;
     }