only fix site signature issues in hublocs for zot6/nomad entities

This commit is contained in:
Mike Macgirvin 2024-09-07 06:45:18 +10:00
parent 59320ff34d
commit 1076c7edcb

View file

@ -129,12 +129,12 @@ function check_hublocs()
$interval = Config::Get('system', 'delivery_interval', 2);
$wrong_urls = q(
"select hubloc_id from hubloc where hubloc_sitekey = '%s' and hubloc_url != '%s'",
"select hubloc_id from hubloc where hubloc_sitekey = '%s' and hubloc_url != '%s' and hubloc_network in ('zot6', 'nomad')",
dbesc($sitekey),
dbesc(z_root())
);
$wrong_keys = q(
"select hubloc_id from hubloc where hubloc_sitekey != '%s' and hubloc_url = '%s'",
"select hubloc_id from hubloc where hubloc_sitekey != '%s' and hubloc_url = '%s' and hubloc_network in ('zot6', 'nomad')",
dbesc($sitekey),
dbesc(z_root())
);