summaryrefslogtreecommitdiff
path: root/actions/apidirectmessagenew.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 16:57:22 -0700
committerZach Copley <zach@status.net>2009-10-09 16:57:22 -0700
commit743c844084bae75db02570d76694f4e9b79a9aa9 (patch)
treeb1a4254c092a10777aec3688024dd2d48f9916b9 /actions/apidirectmessagenew.php
parentf746993c2bfb674d397cf095a2ab2ff7e757818b (diff)
Move all basic auth output and processing to base classes
Diffstat (limited to 'actions/apidirectmessagenew.php')
-rw-r--r--actions/apidirectmessagenew.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/apidirectmessagenew.php b/actions/apidirectmessagenew.php
index b531d7c5c..6984c8d10 100644
--- a/actions/apidirectmessagenew.php
+++ b/actions/apidirectmessagenew.php
@@ -64,12 +64,6 @@ class ApiDirectMessageNewAction extends ApiAuthAction
{
parent::prepare($args);
- if ($this->requiresAuth()) {
- if ($this->checkBasicAuthUser() == false) {
- return;
- }
- }
-
$this->user = $this->auth_user;
if (empty($this->user)) {