diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-23 13:27:22 -0800 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-23 13:27:22 -0800 |
commit | 8c3fe83c645265a11a3fca80cac2ac48ea72cdab (patch) | |
tree | 82e21f04cac14420d8c01e914be6026f0fcc3f28 | |
parent | cab322d21b8c8077192a1396bf13050d734c2aba (diff) |
Make allrss.php work with phpcs
-rw-r--r-- | actions/allrss.php | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/actions/allrss.php b/actions/allrss.php index 05787f3f7..0114c4396 100644 --- a/actions/allrss.php +++ b/actions/allrss.php @@ -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; - } } |