aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-11-06 11:16:46 +0000
committerMario <mario@mariovavti.com>2024-11-06 11:16:46 +0000
commitd9d239bf3a189b4db67f3485d79e2902c440f4ce (patch)
tree6c0601e9c7b6d0bbfcd75461c6a04507bcf10c6b
parent429d15f009d46c7633c9be1c0ef230616edb316d (diff)
downloadvolse-hubzilla-d9d239bf3a189b4db67f3485d79e2902c440f4ce.tar.gz
volse-hubzilla-d9d239bf3a189b4db67f3485d79e2902c440f4ce.tar.bz2
volse-hubzilla-d9d239bf3a189b4db67f3485d79e2902c440f4ce.zip
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
(cherry picked from commit 7a3f2c1ba9ba59499b2f4280f21bbe16d5157c0f) Co-authored-by: Mario <mario@mariovavti.com>
-rw-r--r--Zotlabs/Lib/Libsync.php2
1 files changed, 1 insertions, 1 deletions
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'])
);