aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-13 19:30:15 +0000
committerMario <mario@mariovavti.com>2021-02-13 19:30:15 +0000
commit22e0175ab739bf72ce73f1682068179e3dbea79c (patch)
tree9981c3c824f910060de2b1bafbdb4ee07dca5687 /Zotlabs/Lib
parent0ffb09aa40d4bb2e05dd3b1ae306cb924f86ea12 (diff)
downloadvolse-hubzilla-22e0175ab739bf72ce73f1682068179e3dbea79c.tar.gz
volse-hubzilla-22e0175ab739bf72ce73f1682068179e3dbea79c.tar.bz2
volse-hubzilla-22e0175ab739bf72ce73f1682068179e3dbea79c.zip
fix ping_site() issue
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php5
1 files changed, 5 insertions, 0 deletions
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'];
}