diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-22 12:15:49 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-22 12:15:49 -0400 |
commit | 81e6d50c533964899308e5745745381c340a1764 (patch) | |
tree | 1caaad20518b0786b09fd85f51268945974cf8fa /actions/twitapistatuses.php | |
parent | 64ed01f0aff569da2fd4ed589df9ed4ee9852cb7 (diff) |
blow off DB_DataObject joins, write SQL from scratch
darcs-hash:20080722161549-84dde-fedeed101bdef172f4a7aabf2278f1a2277a6d88.gz
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r-- | actions/twitapistatuses.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index 749f2f084..56a8199b7 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(); - - $notice->limit((($page-1)*20), $count); + $notice->$user->noticesWithFriends(($page-1)*20, $count); $cnt = $notice->find(); |