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