summaryrefslogtreecommitdiff
path: root/actions/leavegroup.php
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-03-08 09:25:23 +0000
committerCiaranG <ciaran@ciarang.com>2009-03-08 09:25:23 +0000
commita5b9f59cb235a05eaf74465d421508b4b8471488 (patch)
treeab1fcd6c19fe1eef6f30fae8dc8524fee2cf3dd7 /actions/leavegroup.php
parent61940e37ff89710628eff1a4ad6db8df16142cec (diff)
parentf66775658c0f231c8bcf9ea310fc8ac0dbf19bfd (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'actions/leavegroup.php')
-rw-r--r--actions/leavegroup.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/leavegroup.php b/actions/leavegroup.php
index 1d85aa3d5..eb30d0e50 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;
}