aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-30 23:41:50 -0700
committerfriendica <info@friendica.com>2014-09-30 23:41:50 -0700
commitf19d718631675d38efca1741f46bf0916af72a65 (patch)
treec40ce5543c412035ca03188f7bd9e565efb62117 /include
parent79f1d48e194f9989f5b76168496a444d0af1e36e (diff)
downloadvolse-hubzilla-f19d718631675d38efca1741f46bf0916af72a65.tar.gz
volse-hubzilla-f19d718631675d38efca1741f46bf0916af72a65.tar.bz2
volse-hubzilla-f19d718631675d38efca1741f46bf0916af72a65.zip
that's why remove_obsolete_hublocs() isn't telling anybody when it does its thing, I forgot to uncomment the bit that tells everybody after I tested it. I needed extensive testing to make sure we didn't accidentally wipe out all hublocs everywhere. Testing went fine so I just assumed it was all working as planned; but went back today to find out why I wasn't told of a recent change.
Diffstat (limited to 'include')
-rw-r--r--include/hubloc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index cdc9de4af..fded434d2 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -105,9 +105,9 @@ function remove_obsolete_hublocs() {
dbesc($rr['hubloc_hash'])
);
if($x) {
-// proc_run('php','include/notifier.php','location',$x[0]['channel_id']);
-// if($interval)
-// @time_sleep_until(microtime(true) + (float) $interval);
+ proc_run('php','include/notifier.php','location',$x[0]['channel_id']);
+ if($interval)
+ @time_sleep_until(microtime(true) + (float) $interval);
}
}
}