forked from GNUsocial/gnu-social
Fixed bad query causing facebook_update to fail
This commit is contained in:
parent
af615c3eb4
commit
26f9bf540e
@ -32,11 +32,12 @@ function getFacebookNotices($since)
|
|||||||
'FROM notice ' .
|
'FROM notice ' .
|
||||||
'JOIN foreign_link ' .
|
'JOIN foreign_link ' .
|
||||||
'WHERE notice.profile_id = foreign_link.user_id ' .
|
'WHERE notice.profile_id = foreign_link.user_id ' .
|
||||||
'AND foreign_link.service = 2 ' .
|
'AND foreign_link.service = 2';
|
||||||
'ORDER BY notice.created DESC';
|
|
||||||
|
|
||||||
// XXX: What should the limit be?
|
// 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()
|
function getFacebook()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user