]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/rsd.php
Twitter Import + avatar fixes (cleaning up + fixing)
[quix0rs-gnu-social.git] / actions / rsd.php
index 0a70117498d7a1b9bd4792fae7db39f06cd130d1..921e7584c90139898e0878ac56b2ac6861108fd4 100644 (file)
@@ -107,9 +107,10 @@ class RsdAction extends Action
                 return false;
             }
 
-            $this->user = User::staticGet('nickname', $nickname);
+            $this->user = User::getKV('nickname', $nickname);
 
             if (empty($this->user)) {
+                // TRANS: Client error.
                 $this->clientError(_('No such user.'), 404);
                 return false;
             }
@@ -139,6 +140,7 @@ class RsdAction extends Action
         $this->elementStart('rsd', array('version' => '1.0',
                                          'xmlns' => $rsdNS));
         $this->elementStart('service');
+        // TRANS: Engine name for RSD.
         $this->element('engineName', null, _('StatusNet'));
         $this->element('engineLink', null, 'http://status.net/');
         $this->elementStart('apis');