improvements in duplicate like detection, especially w/r/t event participation

This commit is contained in:
friendica
2015-02-10 17:49:46 -08:00
parent 9a773b45e4
commit 79da33dafd
2 changed files with 29 additions and 8 deletions

View File

@@ -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),