From 22e0175ab739bf72ce73f1682068179e3dbea79c Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 13 Feb 2021 19:30:15 +0000 Subject: fix ping_site() issue --- Zotlabs/Lib/Libzot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Zotlabs/Lib') diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index c2e388264..45d536638 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -3140,6 +3140,11 @@ class Libzot { ); } + // this site obviously isn't dead because they are trying to communicate with us. + q("update site set site_dead = 0 where site_dead = 1 and site_url = '%s' ", + dbesc($hub['hubloc_url']) + ); + return $hub['hubloc_url']; } -- cgit v1.2.3