]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showmessage.php
Make the OpenID settings work with new framework
[quix0rs-gnu-social.git] / actions / showmessage.php
index 25330a568f6d23ea8e56944af1ee7e69cb3c7c65..d13e9f671fc32f284ab9d3b0cc1b79efd9a984eb 100644 (file)
@@ -32,7 +32,7 @@ class ShowmessageAction extends MailboxAction
         $message = $this->get_message();
 
         if (!$message) {
-            $this->client_error(_('No such message.'), 404);
+            $this->clientError(_('No such message.'), 404);
             return;
         }
         
@@ -41,7 +41,7 @@ class ShowmessageAction extends MailboxAction
         if ($cur && ($cur->id == $message->from_profile || $cur->id == $message->to_profile)) {
             $this->show_page($cur, 1);
         } else {
-            $this->client_error(_('Only the sender and recipient may read this message.'), 403);
+            $this->clientError(_('Only the sender and recipient may read this message.'), 403);
             return;
         }
     }