summaryrefslogtreecommitdiff
path: root/actions/apiblockdestroy.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 14:42:01 -0700
committerZach Copley <zach@status.net>2009-10-09 14:42:01 -0700
commitf746993c2bfb674d397cf095a2ab2ff7e757818b (patch)
tree4b2296aff22c5f5edf4cb834c2ad6566b6696097 /actions/apiblockdestroy.php
parentbb08611def2309711f91c1ab6cdab92fb7c069b2 (diff)
$format is used by every API action. Set it in the base class.
Diffstat (limited to 'actions/apiblockdestroy.php')
-rw-r--r--actions/apiblockdestroy.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/actions/apiblockdestroy.php b/actions/apiblockdestroy.php
index 0f24be3aa..109e66ac4 100644
--- a/actions/apiblockdestroy.php
+++ b/actions/apiblockdestroy.php
@@ -46,7 +46,6 @@ require_once INSTALLDIR . '/lib/apiauth.php';
class ApiBlockDestroyAction extends ApiAuthAction
{
- var $format = null;
var $user = null;
var $other = null;
@@ -71,7 +70,6 @@ class ApiBlockDestroyAction extends ApiAuthAction
$this->user = $this->auth_user;
$this->other = $this->getTargetUser($this->arg('id'));
- $this->format = $this->arg('format');
return true;
}