diff options
Diffstat (limited to 'actions/allrss.php')
-rw-r--r-- | actions/allrss.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/actions/allrss.php b/actions/allrss.php index b6701cfdc..088d04037 100644 --- a/actions/allrss.php +++ b/actions/allrss.php @@ -43,12 +43,8 @@ class AllrssAction extends Rss10Action { $user = $this->user; - $notice = $user->noticesWithFriends(0, $limit); + list($cnt, $notice) = $user->noticesWithFriends(0, $limit); - # XXX: revisit constant scope - - $cnt = $notice->find(); - while ($notice->fetch()) { $notices[] = clone($notice); } |