summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/inc/getdata.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/inc/getdata.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/inc/getdata.inc.php')
-rw-r--r--modules-available/statistics_reporting/inc/getdata.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/statistics_reporting/inc/getdata.inc.php b/modules-available/statistics_reporting/inc/getdata.inc.php
index da3a9a26..ae4d5aa4 100644
--- a/modules-available/statistics_reporting/inc/getdata.inc.php
+++ b/modules-available/statistics_reporting/inc/getdata.inc.php
@@ -29,6 +29,7 @@ class GetData
$data["medianSessionLength_s"] = self::formatSeconds($data["medianSessionLength"]);
$data["totalOffTime_s"] = self::formatSeconds($data["totalOffTime"]);
}
+ $data['uniqueUsers'] = Queries::getUniqueUserCount(self::$from, self::$to);
return $data;
}