X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserbyid.php;h=27b6b7bb5b684084b693dd750ec1fa198eb02aad;hb=8ffecae9c63d8d5a533f3d1610d36f93ba21c2fc;hp=f3e1556f3f143da067a6d259587b8e8edf493e47;hpb=f4459dfedcdea2f2a6078bedf9530deb45b6d52c;p=quix0rs-gnu-social.git diff --git a/actions/userbyid.php b/actions/userbyid.php index f3e1556f3f..27b6b7bb5b 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.')); }