diff options
author | Paolo Tacconi <p.tacconi@giunti.it> | 2014-10-02 13:43:48 +0200 |
---|---|---|
committer | Paolo Tacconi <p.tacconi@giunti.it> | 2014-10-02 13:43:48 +0200 |
commit | 15c1529e836f6af4b9aa526cbc2ffa0c56711135 (patch) | |
tree | 67de532c36804a80c2a0582c71d0ca6383454f2e /include/poller.php | |
parent | 9cebe8ccf015b5fd7814bbaa56b48ed67926ae5a (diff) | |
download | volse-hubzilla-15c1529e836f6af4b9aa526cbc2ffa0c56711135.tar.gz volse-hubzilla-15c1529e836f6af4b9aa526cbc2ffa0c56711135.tar.bz2 volse-hubzilla-15c1529e836f6af4b9aa526cbc2ffa0c56711135.zip |
query for statistics are now executed by poller
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 7 |
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"); |