summaryrefslogtreecommitdiff
path: root/actions/apidirectmessage.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/apidirectmessage.php
parentbb08611def2309711f91c1ab6cdab92fb7c069b2 (diff)
$format is used by every API action. Set it in the base class.
Diffstat (limited to 'actions/apidirectmessage.php')
-rw-r--r--actions/apidirectmessage.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/actions/apidirectmessage.php b/actions/apidirectmessage.php
index 87ae44d7a..fa6883311 100644
--- a/actions/apidirectmessage.php
+++ b/actions/apidirectmessage.php
@@ -45,7 +45,6 @@ require_once INSTALLDIR.'/lib/apiauth.php';
class ApiDirectMessageAction extends ApiAuthAction
{
- var $format = null;
var $messages = null;
var $page = null;
var $count = null;
@@ -122,8 +121,6 @@ class ApiDirectMessageAction extends ApiAuthAction
$this->id = "tag:$taguribase:DirectMessages:" . $this->user->id;
}
- $this->format = $this->arg('format');
-
$this->messages = $this->getMessages();
return true;