summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-24 16:05:13 +0200
committerSimon Rettberg2017-04-24 16:05:13 +0200
commite9aa7ceb89c487f5d2c2bb102f67618ebfcae08b (patch)
tree91bc5375129ab424baa51d591daf8858c7b07e82 /modules-available/statistics_reporting/page.inc.php
parent[inc/Database] Add ::queryAll() (diff)
downloadslx-admin-e9aa7ceb89c487f5d2c2bb102f67618ebfcae08b.tar.gz
slx-admin-e9aa7ceb89c487f5d2c2bb102f67618ebfcae08b.tar.xz
slx-admin-e9aa7ceb89c487f5d2c2bb102f67618ebfcae08b.zip
[statistics_reporting] Extend remote report by hwstats, date ranges, userstats
This implements #3108
Diffstat (limited to 'modules-available/statistics_reporting/page.inc.php')
-rw-r--r--modules-available/statistics_reporting/page.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics_reporting/page.inc.php b/modules-available/statistics_reporting/page.inc.php
index 6bd908a5..52accaea 100644
--- a/modules-available/statistics_reporting/page.inc.php
+++ b/modules-available/statistics_reporting/page.inc.php
@@ -58,7 +58,7 @@ class Page_Statistics_Reporting extends Page
// Get report - fetch data exactly the way it would automatically be reported
// so the user can know what is going on
if ($this->action === 'getreport') {
- $report = RemoteReport::generateReport(strtotime('-7 days'), time('now'));
+ $report = RemoteReport::generateReport(time());
Header('Content-Disposition: attachment; filename=remote-report.json');
Header('Content-Type: application/json; charset=utf-8');
die(json_encode($report));