]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/xrds.php
Make the OpenID settings work with new framework
[quix0rs-gnu-social.git] / actions / xrds.php
index 9c51f1dd21ca13ea798766e1a1f48d1d630e4771..14cb9d503e98a4a2842fa522b41754e6785e63d6 100644 (file)
@@ -24,7 +24,7 @@ require_once(INSTALLDIR.'/lib/omb.php');
 class XrdsAction extends Action
 {
 
-    function is_readonly()
+    function isReadOnly()
     {                
         return true;
     }
@@ -35,7 +35,7 @@ class XrdsAction extends Action
         $nickname = $this->trimmed('nickname');
         $user = User::staticGet('nickname', $nickname);
         if (!$user) {
-            common_user_error(_('No such user.'));
+            $this->clientError(_('No such user.'));
             return;
         }
         $this->show_xrds($user);