X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fprofiletagbyid.php;h=396e634abae6fa49d8c7e093c76fd1ac4b270439;hb=a2e4a1803c2fef25ffc94d306781cec4ae18a5b5;hp=7de5737e9a6251ee5ec751221d3292bc641cdb55;hpb=57198a74647f8350db4de03b0b7ef157091a4359;p=quix0rs-gnu-social.git diff --git a/actions/profiletagbyid.php b/actions/profiletagbyid.php index 7de5737e9a..396e634aba 100644 --- a/actions/profiletagbyid.php +++ b/actions/profiletagbyid.php @@ -40,7 +40,6 @@ class ProfiletagbyidAction extends Action * * @return boolean true */ - function isReadOnly($args) { return true; @@ -54,6 +53,7 @@ class ProfiletagbyidAction extends Action $tagger_id = $this->arg('tagger_id'); if (!$id) { + // TRANS: Client error displayed trying to perform an action without providing an ID. $this->clientError(_('No ID.')); return false; } @@ -63,7 +63,8 @@ class ProfiletagbyidAction extends Action $this->peopletag = Profile_list::staticGet('id', $id); if (!$this->peopletag) { - $this->clientError(_('No such people tag.'), 404); + // TRANS: Client error displayed trying to reference a non-existing list. + $this->clientError(_('No such list.'), 404); return false; } @@ -84,7 +85,6 @@ class ProfiletagbyidAction extends Action * * @return void */ - function handle($args) { common_redirect($this->peopletag->homeUrl(), 303);