summaryrefslogtreecommitdiff
path: root/actions/apidirectmessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apidirectmessage.php')
-rw-r--r--actions/apidirectmessage.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/apidirectmessage.php b/actions/apidirectmessage.php
index fa6883311..cede4c072 100644
--- a/actions/apidirectmessage.php
+++ b/actions/apidirectmessage.php
@@ -70,12 +70,6 @@ class ApiDirectMessageAction extends ApiAuthAction
{
parent::prepare($args);
- if ($this->requiresAuth()) {
- if ($this->checkBasicAuthUser() == false) {
- return;
- }
- }
-
$this->user = $this->auth_user;
if (empty($this->user)) {