summaryrefslogtreecommitdiff
path: root/actions/apifavoritedestroy.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apifavoritedestroy.php')
-rw-r--r--actions/apifavoritedestroy.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/apifavoritedestroy.php b/actions/apifavoritedestroy.php
index a70d5c79b..36946fbfb 100644
--- a/actions/apifavoritedestroy.php
+++ b/actions/apifavoritedestroy.php
@@ -47,9 +47,9 @@ require_once INSTALLDIR.'/lib/apiauth.php';
class ApiFavoriteDestroyAction extends ApiAuthAction
{
- var $format = null;
var $user = null;
var $notice = null;
+
/**
* Take arguments for running
*
@@ -69,7 +69,6 @@ class ApiFavoriteDestroyAction extends ApiAuthAction
}
}
- $this->format = $this->arg('format');
$this->user = $this->auth_user;
$this->notice = Notice::staticGet($this->arg('id'));