summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/inc/remotereport.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-01-31 15:45:28 +0100
committerSimon Rettberg2017-01-31 15:45:28 +0100
commit5c6b40b28ead1157260e4abc2e697a696f69520e (patch)
treeeeb6030e4a391d5ef11f77ff7877c4640b76d2e7 /modules-available/statistics_reporting/inc/remotereport.inc.php
parent[statistics_reporting] fixed total showing wrong median and offline time (diff)
downloadslx-admin-5c6b40b28ead1157260e4abc2e697a696f69520e.tar.gz
slx-admin-5c6b40b28ead1157260e4abc2e697a696f69520e.tar.xz
slx-admin-5c6b40b28ead1157260e4abc2e697a696f69520e.zip
[statistics_reporting] Make getdata functions options flag based in preparation of data export
Diffstat (limited to 'modules-available/statistics_reporting/inc/remotereport.inc.php')
-rw-r--r--modules-available/statistics_reporting/inc/remotereport.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules-available/statistics_reporting/inc/remotereport.inc.php b/modules-available/statistics_reporting/inc/remotereport.inc.php
index 0bf4e7e2..e00e6758 100644
--- a/modules-available/statistics_reporting/inc/remotereport.inc.php
+++ b/modules-available/statistics_reporting/inc/remotereport.inc.php
@@ -71,11 +71,11 @@ class RemoteReport
GetData::$from = $from;
GetData::$to = $to;
GetData::$salt = bin2hex(Util::randomBytes(20));
- $data = GetData::total(true);
- $data['perLocation'] = GetData::perLocation(true);
- $data['perClient'] = GetData::perClient(true);
- $data['perUser'] = GetData::perUser(true);
- $data['perVM'] = GetData::perVM(true);
+ $data = GetData::total(GETDATA_ANONYMOUS);
+ $data['perLocation'] = GetData::perLocation(GETDATA_ANONYMOUS);
+ $data['perClient'] = GetData::perClient(GETDATA_ANONYMOUS);
+ $data['perUser'] = GetData::perUser(GETDATA_ANONYMOUS);
+ $data['perVM'] = GetData::perVM(GETDATA_ANONYMOUS);
$data['tsFrom'] = $from;
$data['tsTo'] = $to;
return $data;