forked from GNUsocial/gnu-social
you can _so_ leave a group if you're its admin
This commit is contained in:
parent
ad83998f10
commit
7d7d78b7f7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user