aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-14 21:39:54 -0700
committerfriendica <info@friendica.com>2013-10-14 21:39:54 -0700
commit3a615528e8992055fc1dbff87db8531d3fee1eb7 (patch)
treea5c1f10fcd16a95423233056c89ad657c4ec753b /include
parent6dbaaef7b7e4d1b23541a92f71e4a738f99c36d8 (diff)
downloadvolse-hubzilla-3a615528e8992055fc1dbff87db8531d3fee1eb7.tar.gz
volse-hubzilla-3a615528e8992055fc1dbff87db8531d3fee1eb7.tar.bz2
volse-hubzilla-3a615528e8992055fc1dbff87db8531d3fee1eb7.zip
sync tweaks
Diffstat (limited to 'include')
-rw-r--r--include/poller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php
index 95eb810a0..97571d331 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -242,7 +242,7 @@ function poller_run($argv, $argc){
}
if($dirmode == DIRECTORY_MODE_SECONDARY || $dirmode == DIRECTORY_MODE_PRIMARY) {
- $r = q("select ud_id from updates where not ( ud_flags & %d ) and ( ud_last = '0000-00-00 00:00:00' OR ud_last > UTC_TIMESTAMP() - INTERVAL 7 DAY ) ",
+ $r = q("select ud_id from updates where not ( ud_flags & %d ) and ud_addr != '' and ( ud_last = '0000-00-00 00:00:00' OR ud_last > UTC_TIMESTAMP() - INTERVAL 7 DAY ) ",
intval(UPDATE_FLAGS_UPDATED)
);
if($r) {