Fixed bad query causing facebook_update to fail

This commit is contained in:
Zach Copley 2009-01-26 12:22:52 -08:00
parent af615c3eb4
commit 26f9bf540e
1 changed files with 4 additions and 3 deletions

View File

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