summaryrefslogtreecommitdiff
path: root/actions/twitapistatuses.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r--actions/twitapistatuses.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index 5a4345ab6..96931fec6 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -309,14 +309,6 @@ class TwitapistatusesAction extends TwitterapiAction {
// Set the user to be the auth user if asked-for can't be found
// honestly! This is what Twitter does, I swear --Zach
$user = $apidata['user'];
-
- if (!$user) {
- # This header makes basic auth go
- header('WWW-Authenticate: Basic realm="Laconica API"');
- # if the user hits cancel -- bam!
- common_show_basic_auth_error();
- exit();
- }
}
$profile = $user->getProfile();