why oh why is poco_load not getting called? oh - that's why.

This commit is contained in:
friendica
2013-01-24 14:31:57 -08:00
parent 5da1948ede
commit 4f7f547190
5 changed files with 24 additions and 25 deletions
+2 -2
View File
@@ -115,10 +115,10 @@ function onepoll_run($argv, $argc){
if($contact['xchan_connurl']) {
$r = q("SELECT xlink_id from xlink
where xlink_xchan = '%s' and xlink_updated > UTC_TIMESTAMP() - INTERVAL 1 DAY",
where xlink_xchan = '%s' and xlink_updated > UTC_TIMESTAMP() - INTERVAL 1 DAY limit 1",
intval($contact['xchan_hash'])
);
if($r) {
if(! $r) {
poco_load($contact['xchan_hash'],$contact['xchan_connurl']);
}
}