Convert use of common_server_error and common_user_error to methods on Action

This commit is contained in:
Evan Prodromou
2009-01-15 23:03:38 +00:00
parent eaa81d25fa
commit 4b0cf99e56
67 changed files with 275 additions and 275 deletions

View File

@@ -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;