aboutsummaryrefslogtreecommitdiffstats
path: root/include/onepoll.php
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-01-28 17:40:39 -0800
committerHabeas Codice <habeascodice@federated.social>2015-01-28 17:40:39 -0800
commitd59bd31a682a58e0d34a66e06ce8f504189f98d5 (patch)
tree3a34b706f63f8f41bb76c5a049f3bc356d8c265f /include/onepoll.php
parent1a537888333afb052e9eb4954091fd163f5b78d1 (diff)
parent54fd8b21db2d8f3841cf590f88611a1d4f44ce48 (diff)
downloadvolse-hubzilla-d59bd31a682a58e0d34a66e06ce8f504189f98d5.tar.gz
volse-hubzilla-d59bd31a682a58e0d34a66e06ce8f504189f98d5.tar.bz2
volse-hubzilla-d59bd31a682a58e0d34a66e06ce8f504189f98d5.zip
Merge branch 'master' of https://github.com/friendica/red
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')
);