change no-such-user error to a 404 instead of a 400
darcs-hash:20080804132001-84dde-e6fae9837f87d80356317e4815516dd9ff03e674.gz
This commit is contained in:
parent
4014f8cfef
commit
222b974b23
|
@ -107,7 +107,7 @@ class ShowstreamAction extends StreamAction {
|
|||
}
|
||||
|
||||
function no_such_user() {
|
||||
common_user_error(_('No such user.'));
|
||||
$this->client_error(_('No such user.'), 404);
|
||||
}
|
||||
|
||||
function show_profile($profile) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user