diff options
author | Mario <mario@mariovavti.com> | 2021-01-17 13:56:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-17 13:56:23 +0000 |
commit | 8d37a4239ae867b3a6b586558c753f8ca147e4e2 (patch) | |
tree | 0a917d2950b1c676a5a4009ba7cdd0bd3deb05da /include | |
parent | a925b08e80bc740ea9d23b1dfb7adbf94491ed09 (diff) | |
download | volse-hubzilla-8d37a4239ae867b3a6b586558c753f8ca147e4e2.tar.gz volse-hubzilla-8d37a4239ae867b3a6b586558c753f8ca147e4e2.tar.bz2 volse-hubzilla-8d37a4239ae867b3a6b586558c753f8ca147e4e2.zip |
mark_orphan_hubsxchans() check against zot6
Diffstat (limited to 'include')
-rw-r--r-- | include/connections.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connections.php b/include/connections.php index 99a4cc71e..87db7faa9 100644 --- a/include/connections.php +++ b/include/connections.php @@ -211,8 +211,8 @@ function mark_orphan_hubsxchans() { if($dirmode == DIRECTORY_MODE_NORMAL) return; - $r = q("update hubloc set hubloc_error = 1 where hubloc_error = 0 - and hubloc_network = 'zot' and hubloc_connected < %s - interval %s", + $r = q("UPDATE hubloc SET hubloc_error = 1 WHERE hubloc_error = 0 + AND hubloc_network IN ('zot6', 'zot') AND hubloc_connected < %s - INTERVAL %s", db_utcnow(), db_quoteinterval('36 day') ); |