]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make allrss.php work with phpcs
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 23 Feb 2009 21:27:22 +0000 (13:27 -0800)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 23 Feb 2009 21:27:22 +0000 (13:27 -0800)
actions/allrss.php

index 05787f3f73cb8cdc5398cb4dc8c7140facc371cc..0114c43962ad312075337ef347010fada0c25a1b 100644 (file)
@@ -53,7 +53,9 @@ class AllrssAction extends Rss10Action
 
     /**
      * Initialization.
-     * 
+     *
+     * @param array $args Web and URL arguments
+     *
      * @return boolean false if user doesn't exist
      */
     function prepare($args)
@@ -81,7 +83,7 @@ class AllrssAction extends Rss10Action
     {
         $user   = $this->user;
         $notice = $user->noticesWithFriends(0, $limit);
-                                            
+
         while ($notice->fetch()) {
             $notices[] = clone($notice);
         }
@@ -104,7 +106,8 @@ class AllrssAction extends Rss10Action
                    'link' => common_local_url('all',
                                              array('nickname' =>
                                                    $user->nickname)),
-                   'description' => sprintf(_('Feed for friends of %s'), $user->nickname));
+                   'description' => sprintf(_('Feed for friends of %s'),
+                                            $user->nickname));
         return $c;
     }
 
@@ -123,10 +126,5 @@ class AllrssAction extends Rss10Action
         $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
         return $avatar ? $avatar->url : null;
     }
-
-    function isReadOnly()
-    {
-        return true;
-    }
 }