summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-22 12:32:00 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-22 12:32:00 -0400
commit39de5b81b38fb3fb2724f31afc4dab9f55d20591 (patch)
treedb524ccb5188a736655effdacbf02f270e4ef771
parent42ac47915ba32abcf41d2718b9032e084a7f5f88 (diff)
don't get a count anywhere
darcs-hash:20080722163200-84dde-736d11972503a37c062fe51c38c58eaf38a11862.gz
-rw-r--r--actions/allrss.php2
-rw-r--r--actions/twitapistatuses.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/allrss.php b/actions/allrss.php
index 088d04037..9cbfe8dc8 100644
--- a/actions/allrss.php
+++ b/actions/allrss.php
@@ -43,7 +43,7 @@ class AllrssAction extends Rss10Action {
$user = $this->user;
- list($cnt, $notice) = $user->noticesWithFriends(0, $limit);
+ $notice = $user->noticesWithFriends(0, $limit);
while ($notice->fetch()) {
$notices[] = clone($notice);
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index 1480b7a5a..ffe6aed51 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -223,7 +223,7 @@ class TwitapistatusesAction extends TwitterapiAction {
$link = common_local_url('all', array('nickname' => $user->nickname));
$subtitle = sprintf(_("Updates from %s and friends on %s!"), $user->nickname, $sitename);
- list($cnt, $notice) = $user->noticesWithFriends(($page-1)*20, $count);
+ $notice = $user->noticesWithFriends(($page-1)*20, $count);
switch($apidata['content-type']) {
case 'xml':