change no-such-user error to a 404 instead of a 400

darcs-hash:20080804132001-84dde-e6fae9837f87d80356317e4815516dd9ff03e674.gz
This commit is contained in:
Evan Prodromou 2008-08-04 09:20:01 -04:00
parent 4014f8cfef
commit 222b974b23

View File

@ -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) {