summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-04 09:20:01 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-04 09:20:01 -0400
commit222b974b23c6d1ec7727b4aa3aab9b825b673f70 (patch)
tree30853a2f9f3a42643534866db972c5ed77e96412 /actions/showstream.php
parent4014f8cfef7edb9958987999c7e3348d3d0dcd9f (diff)
change no-such-user error to a 404 instead of a 400
darcs-hash:20080804132001-84dde-e6fae9837f87d80356317e4815516dd9ff03e674.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 1161c92d6..29ff58a59 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -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) {