]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/leavegroup.php
Fixes #1277: Typo in variable name in actions/twitapidirect_messages.php.
[quix0rs-gnu-social.git] / 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;
     }