]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/microsummary.php
More space for the counter
[quix0rs-gnu-social.git] / actions / microsummary.php
index ced4b0d1e58c31d8a7dbc885a140fcb73cff097c..b46c5bee532a907f532eac49fa9bf52e1d8da57f 100644 (file)
 
 if (!defined('LACONICA')) { exit(1); }
 
-class MicrosummaryAction extends Action {
+class MicrosummaryAction extends Action
+{
 
-    function handle($args) {
+    function handle($args)
+    {
 
         parent::handle($args);
 
@@ -29,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');