summaryrefslogtreecommitdiff
path: root/actions/apigroupleave.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apigroupleave.php')
-rw-r--r--actions/apigroupleave.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/apigroupleave.php b/actions/apigroupleave.php
index 568b04b7c..86b56f5af 100644
--- a/actions/apigroupleave.php
+++ b/actions/apigroupleave.php
@@ -62,12 +62,6 @@ class ApiGroupLeaveAction extends ApiAuthAction
{
parent::prepare($args);
- if ($this->requiresAuth()) {
- if ($this->checkBasicAuthUser() == false) {
- return;
- }
- }
-
$this->user = $this->auth_user;
$this->group = $this->getTargetGroup($this->arg('id'));