*
* @return boolean true
*/
-
function isReadOnly($args)
{
return true;
$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;
}
$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;
}
*
* @return void
*/
-
function handle($args)
{
common_redirect($this->peopletag->homeUrl(), 303);