aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/hubloc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index b6f0c8c57..35d9dbeb1 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -19,6 +19,7 @@ function prune_hub_reinstalls() {
$d2 = datetime_convert('UTC','UTC','now - 3 days');
// allow some slop period, say 3 days - just in case this is a glitch or transient occurrence
+ // Then remove any hublocs pointing to the oldest entry.
if($d1 < $d2) {
logger('prune_hub_reinstalls: removing dead hublocs at ' . $rr['site_url']);