summaryrefslogtreecommitdiff
path: root/actions/allrss.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-22 12:23:32 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-22 12:23:32 -0400
commit9515303b14288041576c50c1729f874c2e17191f (patch)
tree160191ea4010e30501edaf4099f93ce910e4bca2 /actions/allrss.php
parent97b1552c9a02a0f11118685f5d9475941ba81454 (diff)
notices and counts
darcs-hash:20080722162332-84dde-75801a271f50789377aa7a3467223286c372ec6c.gz
Diffstat (limited to 'actions/allrss.php')
-rw-r--r--actions/allrss.php6
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);
}