aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-10-06 08:43:29 -0700
committerhabeascodice <habeascodice@federated.social>2014-10-06 08:43:29 -0700
commit6b40c2cd090d1c406b3e1cd7ad135baff21bfd54 (patch)
treea9d5b42f896384b129b8edfe5b9e8ec2b21ca21d /include/poller.php
parent79bb60aafd39fef7bc4d03eb40d33e23af5b793f (diff)
parent34ef3fda76a924d09e77a698e38b79922b8b7f88 (diff)
downloadvolse-hubzilla-6b40c2cd090d1c406b3e1cd7ad135baff21bfd54.tar.gz
volse-hubzilla-6b40c2cd090d1c406b3e1cd7ad135baff21bfd54.tar.bz2
volse-hubzilla-6b40c2cd090d1c406b3e1cd7ad135baff21bfd54.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php
index f689059b9..2febaeb32 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -149,6 +149,13 @@ function poller_run($argv, $argc){
update_birthdays();
+ //update statistics in config
+ require_once('include/statistics_fns.php');
+ update_channels_total_stat();
+ update_channels_active_halfyear_stat();
+ update_channels_active_monthly_stat();
+ update_local_posts_stat();
+
// expire any read notifications over a month old
q("delete from notify where seen = 1 and date < UTC_TIMESTAMP() - INTERVAL 30 DAY");