summaryrefslogtreecommitdiff
path: root/actions/twitapistatuses.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/twitapistatuses.php
parent97b1552c9a02a0f11118685f5d9475941ba81454 (diff)
notices and counts
darcs-hash:20080722162332-84dde-75801a271f50789377aa7a3467223286c372ec6c.gz
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r--actions/twitapistatuses.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index 56a8199b7..1480b7a5a 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -223,9 +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);
- $notice->$user->noticesWithFriends(($page-1)*20, $count);
-
- $cnt = $notice->find();
+ list($cnt, $notice) = $user->noticesWithFriends(($page-1)*20, $count);
switch($apidata['content-type']) {
case 'xml':