From 7a3f2c1ba9ba59499b2f4280f21bbe16d5157c0f Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 6 Nov 2024 11:12:42 +0000 Subject: only zot6 hublocs have a sitekey so only query such hublocs. This will safe alternative network hublocs from being marked deleted allthough they are intact --- Zotlabs/Lib/Libsync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php index a7e33ba6b..c6b149738 100644 --- a/Zotlabs/Lib/Libsync.php +++ b/Zotlabs/Lib/Libsync.php @@ -885,7 +885,7 @@ class Libsync { dbesc($t) ); - q("update hubloc set hubloc_error = 1, hubloc_deleted = 1 where hubloc_url = '%s' and hubloc_sitekey != '%s'", + q("update hubloc set hubloc_error = 1, hubloc_deleted = 1 where hubloc_url = '%s' and hubloc_sitekey != '%s' and hubloc_network = 'zot6'", dbesc($r[0]['hubloc_url']), dbesc($r[0]['hubloc_sitekey']) ); -- cgit v1.2.3