summaryrefslogtreecommitdiff
path: root/actions/apifriendshipscreate.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/apifriendshipscreate.php
parentf746993c2bfb674d397cf095a2ab2ff7e757818b (diff)
Move all basic auth output and processing to base classes
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);