X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fuserxrd.php;h=6fa738a5c98061d264a719d4be855d60c9ae3ab6;hb=25198a8d4cee5b2182f1ecb99192a4108a01afa4;hp=7691ff155bee0a450592d7f935855778ff7299c9;hpb=641018e95051b029dcd57a4eb304ee545230136a;p=quix0rs-gnu-social.git diff --git a/actions/userxrd.php b/actions/userxrd.php index 7691ff155b..6fa738a5c9 100644 --- a/actions/userxrd.php +++ b/actions/userxrd.php @@ -30,6 +30,7 @@ class UserxrdAction extends XrdAction function prepare($args) { parent::prepare($args); + global $config; $this->uri = $this->trimmed('uri'); $this->uri = self::normalize($this->uri); @@ -56,6 +57,7 @@ class UserxrdAction extends XrdAction } if (!$this->user) { + // TRANS: Client error displayed when user not found for an action. $this->clientError(_('No such user.'), 404); return false; }