diff options
author | friendica <info@friendica.com> | 2013-01-24 14:31:57 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-24 14:31:57 -0800 |
commit | 4f7f547190f5ec2557739aad6b2c09e3f45cdc76 (patch) | |
tree | 279db2a4d10442f39a284cdf8894a32f2b05263f /include/onepoll.php | |
parent | 5da1948ede2f88736e8689c530d6430d56965056 (diff) | |
download | volse-hubzilla-4f7f547190f5ec2557739aad6b2c09e3f45cdc76.tar.gz volse-hubzilla-4f7f547190f5ec2557739aad6b2c09e3f45cdc76.tar.bz2 volse-hubzilla-4f7f547190f5ec2557739aad6b2c09e3f45cdc76.zip |
why oh why is poco_load not getting called? oh - that's why.
Diffstat (limited to 'include/onepoll.php')
-rw-r--r-- | include/onepoll.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/onepoll.php b/include/onepoll.php index 019fe8ed3..bb8c91dd7 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -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']); } } |