diff options
author | Zach Copley <zach@status.net> | 2009-10-09 16:57:22 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-10-09 16:57:22 -0700 |
commit | 743c844084bae75db02570d76694f4e9b79a9aa9 (patch) | |
tree | b1a4254c092a10777aec3688024dd2d48f9916b9 /actions/apiblockcreate.php | |
parent | f746993c2bfb674d397cf095a2ab2ff7e757818b (diff) |
Move all basic auth output and processing to base classes
Diffstat (limited to 'actions/apiblockcreate.php')
-rw-r--r-- | actions/apiblockcreate.php | 6 |
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')); |