don't get a count anywhere

darcs-hash:20080722163200-84dde-736d11972503a37c062fe51c38c58eaf38a11862.gz
This commit is contained in:
Evan Prodromou 2008-07-22 12:32:00 -04:00
parent 42ac47915b
commit 39de5b81b3
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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':