summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/page.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/page.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/page.inc.php')
-rw-r--r--modules-available/statistics_reporting/page.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules-available/statistics_reporting/page.inc.php b/modules-available/statistics_reporting/page.inc.php
index 0309be68..052d813d 100644
--- a/modules-available/statistics_reporting/page.inc.php
+++ b/modules-available/statistics_reporting/page.inc.php
@@ -33,11 +33,11 @@ class Page_Statistics_Reporting extends Page
GetData::$lowerTimeBound = Request::get('lower', 0, 'int');
GetData::$upperTimeBound = Request::get('upper', 24, 'int');
- $data = array_merge(GetData::total(), array('perLocation' => array(), 'perClient' => array(), 'perUser' => array(), 'perVM' => array()));
- $data['perLocation'] = GetData::perLocation();
- $data['perClient'] = GetData::perClient();
- $data['perUser'] = GetData::perUser();
- $data['perVM'] = GetData::perVM();
+ $data = GetData::total(GETDATA_PRINTABLE);
+ $data['perLocation'] = GetData::perLocation(GETDATA_PRINTABLE);
+ $data['perClient'] = GetData::perClient(GETDATA_PRINTABLE);
+ $data['perUser'] = GetData::perUser(GETDATA_PRINTABLE);
+ $data['perVM'] = GetData::perVM(GETDATA_PRINTABLE);
Render::addTemplate('columnChooser');
Render::addTemplate('_page', $data);