aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-11-06 11:12:42 +0000
committerMario <mario@mariovavti.com>2024-11-06 11:12:42 +0000
commit7a3f2c1ba9ba59499b2f4280f21bbe16d5157c0f (patch)
treeff96c99f21ba5c024b95e8320b1955bc70702215 /Zotlabs
parent9f473fc2049fa86918e565777adc35fe6edbe107 (diff)
downloadvolse-hubzilla-7a3f2c1ba9ba59499b2f4280f21bbe16d5157c0f.tar.gz
volse-hubzilla-7a3f2c1ba9ba59499b2f4280f21bbe16d5157c0f.tar.bz2
volse-hubzilla-7a3f2c1ba9ba59499b2f4280f21bbe16d5157c0f.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
Diffstat (limited to 'Zotlabs')
-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'])
);