diff options
author | Zach Copley <zach@status.net> | 2009-10-09 14:42:01 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-10-09 14:42:01 -0700 |
commit | f746993c2bfb674d397cf095a2ab2ff7e757818b (patch) | |
tree | 4b2296aff22c5f5edf4cb834c2ad6566b6696097 /actions/apidirectmessagenew.php | |
parent | bb08611def2309711f91c1ab6cdab92fb7c069b2 (diff) |
$format is used by every API action. Set it in the base class.
Diffstat (limited to 'actions/apidirectmessagenew.php')
-rw-r--r-- | actions/apidirectmessagenew.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actions/apidirectmessagenew.php b/actions/apidirectmessagenew.php index d836409ae..b531d7c5c 100644 --- a/actions/apidirectmessagenew.php +++ b/actions/apidirectmessagenew.php @@ -46,7 +46,6 @@ require_once INSTALLDIR.'/lib/apiauth.php'; class ApiDirectMessageNewAction extends ApiAuthAction { - var $format = null; var $source = null; var $user = null; var $other = null; @@ -97,8 +96,6 @@ class ApiDirectMessageNewAction extends ApiAuthAction $this->other = $this->getTargetUser($user_param); } - $this->format = $this->arg('format'); - return true; } |