X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserbyid.php;h=09fb4258d9c4a3c4fd0a27813c47707d77e6042e;hb=0af75a5a2a9a62826594b7526aa7749ab7844b62;hp=f3e1556f3f143da067a6d259587b8e8edf493e47;hpb=f4459dfedcdea2f2a6078bedf9530deb45b6d52c;p=quix0rs-gnu-social.git diff --git a/actions/userbyid.php b/actions/userbyid.php index f3e1556f3f..09fb4258d9 100644 --- a/actions/userbyid.php +++ b/actions/userbyid.php @@ -1,5 +1,4 @@ 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.')); }