From 39de5b81b38fb3fb2724f31afc4dab9f55d20591 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 22 Jul 2008 12:32:00 -0400 Subject: [PATCH] don't get a count anywhere darcs-hash:20080722163200-84dde-736d11972503a37c062fe51c38c58eaf38a11862.gz --- actions/allrss.php | 2 +- actions/twitapistatuses.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/allrss.php b/actions/allrss.php index 088d04037f..9cbfe8dc8f 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 1480b7a5a1..ffe6aed51e 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': -- 2.39.5