X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitimelinementions.php;h=6465cdf85e58ec6e525a866b233a69567679a56d;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=ce6c73c0d18b6d62e4c5f1b2e7114d970b9d1dce;hpb=f8b49e69d02806110cbc780fce4671fbe3357438;p=quix0rs-gnu-social.git diff --git a/actions/apitimelinementions.php b/actions/apitimelinementions.php index ce6c73c0d1..6465cdf85e 100644 --- a/actions/apitimelinementions.php +++ b/actions/apitimelinementions.php @@ -119,8 +119,8 @@ class ApiTimelineMentionsAction extends ApiBareAuthAction // TRANS: Subtitle for timeline of most recent mentions of a user. // TRANS: %1$s is the StatusNet sitename, %2$s is a user nickname, // TRANS: %3$s is a user's full name. - _('%1$s updates that reply to updates from %2$s / %3$s.'), - $sitename, $this->target->getBestName(), $this->target->nickname + _('%1$s updates that reply to updates from %3$s / %2$s.'), + $sitename, $this->target->nickname, $this->target->getBestName() ); switch($this->format) { @@ -204,7 +204,7 @@ class ApiTimelineMentionsAction extends ApiBareAuthAction * * @return boolean true */ - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; }