summaryrefslogtreecommitdiff
path: root/actions/userbyid.php
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-12-28 01:57:51 +0000
committerBrenda Wallace <shiny@cpan.org>2009-12-28 01:57:51 +0000
commitf4459dfedcdea2f2a6078bedf9530deb45b6d52c (patch)
tree942db6159710f5dd17e0c43a5659e1eec027a9e6 /actions/userbyid.php
parent9d3829df9d29581c1d0281e57fda8ba4452ce2c2 (diff)
parentce8c69a49fc6668a19886ebc354ea5bef808d12a (diff)
Merge commit 'origin/0.9.x' into 0.9.x
Diffstat (limited to 'actions/userbyid.php')
-rw-r--r--actions/userbyid.php9
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);
}
}
-