aboutsummaryrefslogtreecommitdiffstats
path: root/include/onepoll.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-27 20:00:43 -0800
committerfriendica <info@friendica.com>2015-01-27 20:00:43 -0800
commita2cdd1499c968c31ae1b95933231f80be5fc639b (patch)
tree231780d92f46a0f265e79fa478c3b7e7fc84d085 /include/onepoll.php
parent0bfbe6d61d3c6250a162a29d2cdb0ec78ad02f1d (diff)
parent145b30adfc21b7f29d1431ebd1e2e0f4ebd853bf (diff)
downloadvolse-hubzilla-a2cdd1499c968c31ae1b95933231f80be5fc639b.tar.gz
volse-hubzilla-a2cdd1499c968c31ae1b95933231f80be5fc639b.tar.bz2
volse-hubzilla-a2cdd1499c968c31ae1b95933231f80be5fc639b.zip
Merge branch 'master' into tres
Conflicts: include/socgraph.php
Diffstat (limited to 'include/onepoll.php')
-rw-r--r--include/onepoll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/onepoll.php b/include/onepoll.php
index 095edd095..ee90fbdb1 100644
--- a/include/onepoll.php
+++ b/include/onepoll.php
@@ -145,7 +145,7 @@ function onepoll_run($argv, $argc){
if($contact['xchan_connurl']) {
$r = q("SELECT xlink_id from xlink
- where xlink_xchan = '%s' and xlink_updated > %s - INTERVAL %s limit 1",
+ where xlink_xchan = '%s' and xlink_updated > %s - INTERVAL %s and xlink_static = 0 limit 1",
intval($contact['xchan_hash']),
db_utcnow(), db_quoteinterval('1 DAY')
);