summaryrefslogtreecommitdiff
path: root/actions/apitimelinepublic.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/apitimelinepublic.php
parent931e19073d522a41a54b5e9a77b213a10da95476 (diff)
Remove more redundant $formats
Diffstat (limited to 'actions/apitimelinepublic.php')
-rw-r--r--actions/apitimelinepublic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/apitimelinepublic.php b/actions/apitimelinepublic.php
index 2638dd292..a635ddc91 100644
--- a/actions/apitimelinepublic.php
+++ b/actions/apitimelinepublic.php
@@ -103,7 +103,7 @@ class ApiTimelinePublicAction extends ApiAction
$link = common_root_url();
$subtitle = sprintf(_("%s updates from everyone!"), $sitename);
- switch($this->arg('format')) {
+ switch($this->format) {
case 'xml':
$this->show_xml_timeline($this->notices);
break;