diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2009-12-13 18:55:17 +0100 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2009-12-13 18:55:17 +0100 |
commit | 745e35ac1fcee01298db09a8649f79f410138652 (patch) | |
tree | 238bdad2ef3df30f4f02f916014d3991007f4338 /actions/userbyid.php | |
parent | 954eb411e038745ee3e7995364a79d2fbda909bc (diff) |
(Puctuation) consistency in clientError() calls.
Diffstat (limited to 'actions/userbyid.php')
-rw-r--r-- | actions/userbyid.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/actions/userbyid.php b/actions/userbyid.php index ebff7e4a7..f3e1556f3 100644 --- a/actions/userbyid.php +++ b/actions/userbyid.php @@ -47,17 +47,17 @@ class UserbyidAction extends Action { /** * Is read only? - * + * * @return boolean true */ function isReadOnly($args) - { + { return true; } /** * Class handler. - * + * * @param array $args array of arguments * * @return nothing @@ -67,7 +67,7 @@ class UserbyidAction extends Action parent::handle($args); $id = $this->trimmed('id'); if (!$id) { - $this->clientError(_('No id.')); + $this->clientError(_('No ID.')); } $user = User::staticGet($id); if (!$user) { @@ -88,4 +88,3 @@ class UserbyidAction extends Action common_redirect($url, 303); } } - |