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