]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/replies.php
Make the OpenID settings work with new framework
[quix0rs-gnu-social.git] / actions / replies.php
index eceeb4d650fa7b6aa9c4d14e2031c4b6140df716..84fd894ff0a072e7d2197a4816993df895587a03 100644 (file)
@@ -40,7 +40,7 @@ class RepliesAction extends StreamAction
         $profile = $user->getProfile();
 
         if (!$profile) {
-            common_server_error(_('User has no profile.'));
+            $this->serverError(_('User has no profile.'));
             return;
         }
 
@@ -57,12 +57,12 @@ class RepliesAction extends StreamAction
 
     function no_such_user()
     {
-        common_user_error(_('No such user.'));
+        $this->clientError(_('No such user.'));
     }
 
     function show_header($user)
     {
-        common_element('link', array('rel' => 'alternate',
+        $this->element('link', array('rel' => 'alternate',
                                      'href' => common_local_url('repliesrss', array('nickname' =>
                                                                                     $user->nickname)),
                                      'type' => 'application/rss+xml',