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