]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/userxrd.php
Merge remote-tracking branch 'statusnet/master'
[quix0rs-gnu-social.git] / actions / userxrd.php
index 7691ff155bee0a450592d7f935855778ff7299c9..6fa738a5c98061d264a719d4be855d60c9ae3ab6 100644 (file)
@@ -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;
         }