aboutsummaryrefslogtreecommitdiffstats
path: root/include/onepoll.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-26 19:13:06 -0800
committerfriendica <info@friendica.com>2015-01-26 19:13:06 -0800
commit0596097f8603d24823ea57a68eaf405c6c0d94ff (patch)
treee2df28813c69fe500570a293fb554cf7b67c52aa /include/onepoll.php
parent9f5bfca28dde23893156ad36682e20ca2fc0dd45 (diff)
downloadvolse-hubzilla-0596097f8603d24823ea57a68eaf405c6c0d94ff.tar.gz
volse-hubzilla-0596097f8603d24823ea57a68eaf405c6c0d94ff.tar.bz2
volse-hubzilla-0596097f8603d24823ea57a68eaf405c6c0d94ff.zip
provide storage for directory based reputation in the xlink table by setting xlink_static = 1, so that xlink_static = 0 is traditional poco linkages
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')
);