git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 85af1c92 authored by Zach Copley's avatar Zach Copley

phpcs cleanup

parent 8d284ca8
......@@ -97,10 +97,15 @@ class ApiTimelineTagAction extends TwitterapiAction
{
$sitename = common_config('site', 'name');
$title = sprintf(_("Notices tagged with %s"), $this->tag);
$link = common_local_url('tag',
array('tag' => $this->tag));
$subtitle = sprintf(_('Updates tagged with %1$s on %2$s!'),
$this->tag, $sitename);
$link = common_local_url(
'tag',
array('tag' => $this->tag)
);
$subtitle = sprintf(
_('Updates tagged with %1$s on %2$s!'),
$this->tag,
$sitename
);
$taguribase = common_config('integration', 'taguri');
$id = "tag:$taguribase:TagTimeline:".$tag;
......@@ -115,9 +120,14 @@ class ApiTimelineTagAction extends TwitterapiAction
$selfuri = common_root_url() .
'api/statusnet/tags/timeline/' .
$this->tag . '.atom';
$this->show_atom_timeline(
$this->notices, $title, $id, $link,
$subtitle, null, $selfuri
$this->show_atom_timeline(
$this->notices,
$title,
$id,
$link,
$subtitle,
null,
$selfuri
);
break;
case 'json':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment