diff options
author | friendica <info@friendica.com> | 2014-05-28 21:42:46 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-28 21:42:46 -0700 |
commit | 2a6d7b6a079a565afc0200fe160cb2402ed7c0a3 (patch) | |
tree | 5e7c28189a8f7db259bdab7b1d96f2ab3b574686 /include/poller.php | |
parent | 53ea6b05a644c75810a95e351021251f0f759e9f (diff) | |
download | volse-hubzilla-2a6d7b6a079a565afc0200fe160cb2402ed7c0a3.tar.gz volse-hubzilla-2a6d7b6a079a565afc0200fe160cb2402ed7c0a3.tar.bz2 volse-hubzilla-2a6d7b6a079a565afc0200fe160cb2402ed7c0a3.zip |
cleanup dead directory entries. This was a real b#tch, so keep your eye out for issues - which you shouldn't see until next weekend when this is scheduled to run. We're only setting flags, so if anything goes wrong we should be able to recover without too much pain.
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index 9592c29e4..35844e666 100644 --- a/include/poller.php +++ b/include/poller.php @@ -118,10 +118,11 @@ function poller_run($argv, $argc){ require_once('include/hubloc.php'); prune_hub_reinstalls(); + require_once('include/Contact.php'); + mark_orphan_hubsxchans(); } - // expire any read notifications over a month old q("delete from notify where seen = 1 and date < UTC_TIMESTAMP() - INTERVAL 30 DAY"); |