summaryrefslogtreecommitdiff
path: root/actions/apifavoritedestroy.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apifavoritedestroy.php')
-rw-r--r--actions/apifavoritedestroy.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/actions/apifavoritedestroy.php b/actions/apifavoritedestroy.php
index 36946fbfb..3640459f9 100644
--- a/actions/apifavoritedestroy.php
+++ b/actions/apifavoritedestroy.php
@@ -63,12 +63,6 @@ class ApiFavoriteDestroyAction extends ApiAuthAction
{
parent::prepare($args);
- if ($this->requiresAuth()) {
- if ($this->checkBasicAuthUser() == false) {
- return;
- }
- }
-
$this->user = $this->auth_user;
$this->notice = Notice::staticGet($this->arg('id'));