diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-01-26 12:22:52 -0800 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-01-26 12:22:52 -0800 |
commit | 26f9bf540e6db4340e85f7b936660b051148d1eb (patch) | |
tree | e7dd881fe5f4d63b4aba21544920b0e7b50267c3 /lib/facebookutil.php | |
parent | af615c3eb455f48460f5840ca44f24eaec26e5f6 (diff) |
Fixed bad query causing facebook_update to fail
Diffstat (limited to 'lib/facebookutil.php')
-rw-r--r-- | lib/facebookutil.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/facebookutil.php b/lib/facebookutil.php index 8454590d6..beab51366 100644 --- a/lib/facebookutil.php +++ b/lib/facebookutil.php @@ -32,11 +32,12 @@ function getFacebookNotices($since) 'FROM notice ' . 'JOIN foreign_link ' . 'WHERE notice.profile_id = foreign_link.user_id ' . - 'AND foreign_link.service = 2 ' . - 'ORDER BY notice.created DESC'; + 'AND foreign_link.service = 2'; // XXX: What should the limit be? - return Notice::getStreamDirect($qry, 0, 100, 0, 0, null, $since); + //static function getStreamDirect($qry, $offset, $limit, $since_id, $before_id, $order, $since) { + + return Notice::getStreamDirect($qry, 0, 1000, 0, 0, null, $since); } function getFacebook() |