diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-24 10:56:02 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-24 10:56:02 +0100 |
commit | 1821b099dfc92ce59147e1e225c398919df712b6 (patch) | |
tree | a74a4fa6af58d6e9db47709bfcced84842306baa /include | |
parent | c024668cf226da7211aaa8cdd04293cf00b8901c (diff) | |
download | volse-hubzilla-1821b099dfc92ce59147e1e225c398919df712b6.tar.gz volse-hubzilla-1821b099dfc92ce59147e1e225c398919df712b6.tar.bz2 volse-hubzilla-1821b099dfc92ce59147e1e225c398919df712b6.zip |
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?
Diffstat (limited to 'include')
-rw-r--r-- | include/poller.php | 6 |
1 files changed, 6 insertions, 0 deletions
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 |