]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/microsummary.php
Convert use of common_server_error and common_user_error to methods on Action
[quix0rs-gnu-social.git] / actions / microsummary.php
index 13ddc4e3ed35bd456bac4665964e0cb2814628f3..b46c5bee532a907f532eac49fa9bf52e1d8da57f 100644 (file)
@@ -31,14 +31,14 @@ class MicrosummaryAction extends Action
         $user = User::staticGet('nickname', $nickname);
 
         if (!$user) {
-            $this->client_error(_('No such user'), 404);
+            $this->clientError(_('No such user'), 404);
             return;
         }
         
         $notice = $user->getCurrentNotice();
         
         if (!$notice) {
-            $this->client_error(_('No current status'), 404);
+            $this->clientError(_('No current status'), 404);
         }
         
         header('Content-Type: text/plain');