diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-02 11:54:02 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-02 11:54:02 -0800 |
commit | 6b134ae4c7e15ce9853bc82545c3beb67a2dfdad (patch) | |
tree | c28f2857d42b6bc97f602fe4c3458a5dd2ca9bc2 /actions/apitimelinefriends.php | |
parent | f596e072e79ec87541b27008ea2327275e5fc669 (diff) |
Dropped deprecated timestamp-based 'since' parameter for all API methods. When it sneaks in it can cause some very slow queries due to mismatches with the indexing.
Twitter removed 'since' support some time ago, and we've already removed it from the public timeline, so it shouldn't be missed.
Diffstat (limited to 'actions/apitimelinefriends.php')
-rw-r--r-- | actions/apitimelinefriends.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apitimelinefriends.php b/actions/apitimelinefriends.php index 2db76857e..9ef3ace60 100644 --- a/actions/apitimelinefriends.php +++ b/actions/apitimelinefriends.php @@ -202,11 +202,11 @@ class ApiTimelineFriendsAction extends ApiBareAuthAction if (!empty($this->auth_user) && $this->auth_user->id == $this->user->id) { $notice = $this->user->ownFriendsTimeline(($this->page-1) * $this->count, $this->count, $this->since_id, - $this->max_id, $this->since); + $this->max_id); } else { $notice = $this->user->friendsTimeline(($this->page-1) * $this->count, $this->count, $this->since_id, - $this->max_id, $this->since); + $this->max_id); } while ($notice->fetch()) { |