]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/foaf.php
Update favorited for new layout and framework
[quix0rs-gnu-social.git] / actions / foaf.php
index 6f73ce505efbe1bff533ab4c5992f993c36a800b..9fa321d4a95b79d0ee5fdbdb82ecc2ad3683dc4f 100644 (file)
@@ -26,7 +26,7 @@ define('BOTH', 0);
 class FoafAction extends Action
 {
 
-    function is_readonly()
+    function isReadOnly()
     {
         return true;
     }
@@ -40,14 +40,14 @@ class FoafAction extends Action
         $user = User::staticGet('nickname', $nickname);
 
         if (!$user) {
-            common_user_error(_('No such user.'), 404);
+            $this->clientError(_('No such user.'), 404);
             return;
         }
 
         $profile = $user->getProfile();
 
         if (!$profile) {
-            common_server_error(_('User has no profile.'), 500);
+            $this->serverError(_('User has no profile.'), 500);
             return;
         }