]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showmessage.php
Some files got updated coding style
[quix0rs-gnu-social.git] / actions / showmessage.php
index 1c867af1190ccbff3ff58d88a8cb4da00c91a7b9..86fbee8b73f95c303ac21f477da1a474d997b00c 100644 (file)
@@ -69,12 +69,11 @@ class ShowmessageAction extends Action
         $this->page = 1;
 
         $id            = $this->trimmed('message');
-        $this->message = Message::staticGet('id', $id);
+        $this->message = Message::getKV('id', $id);
 
         if (!$this->message) {
             // TRANS: Client error displayed requesting a single message that does not exist.
             $this->clientError(_('No such message.'), 404);
-            return false;
         }
 
         $this->user = common_current_user();