]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/microsummary.php
Misses this file to merge. I like the comments.
[quix0rs-gnu-social.git] / actions / microsummary.php
index 14c626ac513bd52b560910706a8a3a191c53c9f2..03348617da9b1541b9094f1b85129dea234eda5b 100644 (file)
@@ -51,7 +51,7 @@ class MicrosummaryAction extends Action
      *
      * @return nothing
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
 
@@ -61,7 +61,6 @@ class MicrosummaryAction extends Action
         if (!$user) {
             // TRANS: Client error displayed trying to make a micro summary without providing a valid user.
             $this->clientError(_('No such user.'), 404);
-            return;
         }
 
         $notice = $user->getCurrentNotice();
@@ -76,7 +75,7 @@ class MicrosummaryAction extends Action
         print $user->nickname . ': ' . $notice->content;
     }
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }