diff options
author | Udo Walter | 2017-09-01 15:27:06 +0200 |
---|---|---|
committer | Udo Walter | 2017-09-01 15:27:06 +0200 |
commit | 599c259845cd94a0bb64233b9935ea8c38be65b0 (patch) | |
tree | f6b2601d774aa5a0ca8785015d997545ef9952f7 /modules-available/statistics_reporting/hooks/cron.inc.php | |
parent | [js_stupidtable] changed one-line code to formatted code; (diff) | |
parent | [locationinfo] Add backend for Microsoft Exchange Server (diff) | |
download | slx-admin-599c259845cd94a0bb64233b9935ea8c38be65b0.tar.gz slx-admin-599c259845cd94a0bb64233b9935ea8c38be65b0.tar.xz slx-admin-599c259845cd94a0bb64233b9935ea8c38be65b0.zip |
Merge remote-tracking branch 'origin/master' into permission-manager
Diffstat (limited to 'modules-available/statistics_reporting/hooks/cron.inc.php')
-rw-r--r-- | modules-available/statistics_reporting/hooks/cron.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules-available/statistics_reporting/hooks/cron.inc.php b/modules-available/statistics_reporting/hooks/cron.inc.php index afb18a23..14597f7d 100644 --- a/modules-available/statistics_reporting/hooks/cron.inc.php +++ b/modules-available/statistics_reporting/hooks/cron.inc.php @@ -7,10 +7,9 @@ if (RemoteReport::isReportingEnabled()) { while ($nextReporting <= time()) { RemoteReport::writeNextReportingTimestamp(); - $from = strtotime("-7 days", $nextReporting); $to = $nextReporting; - $statisticsReport = json_encode(RemoteReport::generateReport($from, $to)); + $statisticsReport = json_encode(RemoteReport::generateReport($to)); $params = array("action" => "statistics", "data" => $statisticsReport); |