X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserbyid.php;h=09fb4258d9c4a3c4fd0a27813c47707d77e6042e;hb=c00491cd7a29a9ef16d6e6bfa54505d4c9a522fe;hp=b8ccd0108e0ab393248637a258998ef42dd63c4a;hpb=e98e443605cff0266dcf9b412641b42c82e45824;p=quix0rs-gnu-social.git diff --git a/actions/userbyid.php b/actions/userbyid.php index b8ccd0108e..09fb4258d9 100644 --- a/actions/userbyid.php +++ b/actions/userbyid.php @@ -61,15 +61,15 @@ class UserbyidAction extends Action * * @return nothing */ - function handle($args) + protected function handle() { - parent::handle($args); + parent::handle(); $id = $this->trimmed('id'); if (!$id) { // TRANS: Client error displayed trying to find a user by ID without providing an ID. $this->clientError(_('No ID.')); } - $user = User::staticGet($id); + $user = User::getKV($id); if (!$user) { // TRANS: Client error displayed trying to find a user by ID for a non-existing ID. $this->clientError(_('No such user.'));