phpcs cleanup

This commit is contained in:
Zach Copley 2009-10-06 17:25:10 -07:00
parent 8d284ca82c
commit 85af1c92ad

View File

@ -97,10 +97,15 @@ class ApiTimelineTagAction extends TwitterapiAction
{ {
$sitename = common_config('site', 'name'); $sitename = common_config('site', 'name');
$title = sprintf(_("Notices tagged with %s"), $this->tag); $title = sprintf(_("Notices tagged with %s"), $this->tag);
$link = common_local_url('tag', $link = common_local_url(
array('tag' => $this->tag)); 'tag',
$subtitle = sprintf(_('Updates tagged with %1$s on %2$s!'), array('tag' => $this->tag)
$this->tag, $sitename); );
$subtitle = sprintf(
_('Updates tagged with %1$s on %2$s!'),
$this->tag,
$sitename
);
$taguribase = common_config('integration', 'taguri'); $taguribase = common_config('integration', 'taguri');
$id = "tag:$taguribase:TagTimeline:".$tag; $id = "tag:$taguribase:TagTimeline:".$tag;
@ -115,9 +120,14 @@ class ApiTimelineTagAction extends TwitterapiAction
$selfuri = common_root_url() . $selfuri = common_root_url() .
'api/statusnet/tags/timeline/' . 'api/statusnet/tags/timeline/' .
$this->tag . '.atom'; $this->tag . '.atom';
$this->show_atom_timeline( $this->show_atom_timeline(
$this->notices, $title, $id, $link, $this->notices,
$subtitle, null, $selfuri $title,
$id,
$link,
$subtitle,
null,
$selfuri
); );
break; break;
case 'json': case 'json':