From 1821b099dfc92ce59147e1e225c398919df712b6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 24 Mar 2015 10:56:02 +0100 Subject: this query can take quite a while if there were many updates but it has not been called for a long time (eg nobody called mod sharedwithme). might be a good idea to have this in the poller to clean up on a regular basis and call it once more in mod sharedwithme. what do you think? --- include/poller.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/poller.php b/include/poller.php index b70ef75b0..4786188af 100644 --- a/include/poller.php +++ b/include/poller.php @@ -41,6 +41,12 @@ function poller_run($argv, $argc){ // run queue delivery process in the background proc_run('php',"include/queue.php"); + + + // maintenance for mod sharedwithme - check for updated items and remove them + + require_once('include/sharedwithme.php'); + apply_updates(); // expire any expired mail -- cgit v1.2.3