aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-24 10:56:02 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-24 10:56:02 +0100
commit1821b099dfc92ce59147e1e225c398919df712b6 (patch)
treea74a4fa6af58d6e9db47709bfcced84842306baa /include
parentc024668cf226da7211aaa8cdd04293cf00b8901c (diff)
downloadvolse-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.php6
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