summaryrefslogtreecommitdiff
path: root/actions/apitimelinementions.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 17:11:40 -0700
committerZach Copley <zach@status.net>2009-10-09 17:11:40 -0700
commit559918826a714c1ee2ecdc49dcfc2b67451a9864 (patch)
treee65d7dd47e0e0a4d19e0774e09efa2f7818e2419 /actions/apitimelinementions.php
parent931e19073d522a41a54b5e9a77b213a10da95476 (diff)
Remove more redundant $formats
Diffstat (limited to 'actions/apitimelinementions.php')
-rw-r--r--actions/apitimelinementions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apitimelinementions.php b/actions/apitimelinementions.php
index ecead98cc..7549b4722 100644
--- a/actions/apitimelinementions.php
+++ b/actions/apitimelinementions.php
@@ -71,7 +71,7 @@ class ApiTimelineMentionsAction extends ApiBareAuthAction
$this->user = $this->getTargetUser($this->arg('id'));
if (empty($this->user)) {
- $this->clientError(_('No such user!'), 404, $this->arg('format'));
+ $this->clientError(_('No such user!'), 404, $this->format);
return;
}
@@ -122,7 +122,7 @@ class ApiTimelineMentionsAction extends ApiBareAuthAction
$sitename, $this->user->nickname, $profile->getBestName()
);
- switch($this->arg('format')) {
+ switch($this->format) {
case 'xml':
$this->show_xml_timeline($this->notices);
break;