]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/microsummary.php
replace all tabs with four spaces
[quix0rs-gnu-social.git] / actions / microsummary.php
index 104467d2979c33fec91ae1a71301334dc522995d..ced4b0d1e58c31d8a7dbc885a140fcb73cff097c 100644 (file)
@@ -21,26 +21,26 @@ if (!defined('LACONICA')) { exit(1); }
 
 class MicrosummaryAction extends Action {
 
-       function handle($args) {
+    function handle($args) {
 
-               parent::handle($args);
+        parent::handle($args);
 
-               $nickname = common_canonical_nickname($this->arg('nickname'));
-               $user = User::staticGet('nickname', $nickname);
+        $nickname = common_canonical_nickname($this->arg('nickname'));
+        $user = User::staticGet('nickname', $nickname);
 
-               if (!$user) {
-                       $this->client_error(_('No such user'), 404);
-                       return;
-               }
-               
-               $notice = $user->getCurrentNotice();
-               
-               if (!$notice) {
-                       $this->client_error(_('No current status'), 404);
-               }
-               
-               header('Content-Type: text/plain');
-               
-               print $user->nickname . ': ' . $notice->content;
-       }
+        if (!$user) {
+            $this->client_error(_('No such user'), 404);
+            return;
+        }
+        
+        $notice = $user->getCurrentNotice();
+        
+        if (!$notice) {
+            $this->client_error(_('No current status'), 404);
+        }
+        
+        header('Content-Type: text/plain');
+        
+        print $user->nickname . ': ' . $notice->content;
+    }
 }