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.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user