aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-10 17:49:46 -0800
committerfriendica <info@friendica.com>2015-02-10 17:49:46 -0800
commit79da33dafdac1427ac07b4414a5da5f9f3a2b03d (patch)
tree1934a32ffc2b7a3d1ada1afe4499e4e43561c370 /include
parent9a773b45e498330cba20717d3f2d5c2e1a3683b0 (diff)
downloadvolse-hubzilla-79da33dafdac1427ac07b4414a5da5f9f3a2b03d.tar.gz
volse-hubzilla-79da33dafdac1427ac07b4414a5da5f9f3a2b03d.tar.bz2
volse-hubzilla-79da33dafdac1427ac07b4414a5da5f9f3a2b03d.zip
improvements in duplicate like detection, especially w/r/t event participation
Diffstat (limited to 'include')
-rw-r--r--include/Contact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php
index de3a75bb7..9490fd2da 100644
--- a/include/Contact.php
+++ b/include/Contact.php
@@ -374,7 +374,7 @@ function mark_orphan_hubsxchans() {
if($dirmode == DIRECTORY_MODE_NORMAL)
return;
- $r = q("update hubloc set hubloc_status = (hubloc_status | %d) where not (hubloc_status & %d)>0
+ $r = q("update hubloc set hubloc_status = (hubloc_status | %d) where (hubloc_status & %d) = 0
and hubloc_network = 'zot' and hubloc_connected < %s - interval %s",
intval(HUBLOC_OFFLINE),
intval(HUBLOC_OFFLINE),