forked from GNUsocial/gnu-social
Convert use of common_server_error and common_user_error to methods on Action
This commit is contained in:
@@ -34,7 +34,7 @@ class AllrssAction extends Rss10Action
|
||||
$this->user = User::staticGet('nickname', $nickname);
|
||||
|
||||
if (!$this->user) {
|
||||
common_user_error(_('No such user.'));
|
||||
$this->clientError(_('No such user.'));
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user