From: Evan Prodromou Date: Tue, 22 Jul 2008 16:32:00 +0000 (-0400) Subject: don't get a count anywhere X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=39de5b81b38fb3fb2724f31afc4dab9f55d20591;p=quix0rs-gnu-social.git don't get a count anywhere darcs-hash:20080722163200-84dde-736d11972503a37c062fe51c38c58eaf38a11862.gz --- 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':