summaryrefslogtreecommitdiff
path: root/actions/apiblockcreate.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apiblockcreate.php')
-rw-r--r--actions/apiblockcreate.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/apiblockcreate.php b/actions/apiblockcreate.php
index 642171271..6dd28dd5e 100644
--- a/actions/apiblockcreate.php
+++ b/actions/apiblockcreate.php
@@ -63,12 +63,6 @@ class ApiBlockCreateAction 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'));