diff options
author | Simon Rettberg | 2020-06-29 12:59:06 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-06-29 12:59:06 +0200 |
commit | bf3720c139c2fb338f01b9153a2a34e8f93ec172 (patch) | |
tree | 067586b4555aed791ff5840a9881256410c23b4a /modules-available/statistics_reporting/inc/queries.inc.php | |
parent | [locationinfo] Add option to show hostnames (diff) | |
download | slx-admin-bf3720c139c2fb338f01b9153a2a34e8f93ec172.tar.gz slx-admin-bf3720c139c2fb338f01b9153a2a34e8f93ec172.tar.xz slx-admin-bf3720c139c2fb338f01b9153a2a34e8f93ec172.zip |
[statistics_reporting] Fix numer of unique users and server CPU model
Diffstat (limited to 'modules-available/statistics_reporting/inc/queries.inc.php')
-rw-r--r-- | modules-available/statistics_reporting/inc/queries.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules-available/statistics_reporting/inc/queries.inc.php b/modules-available/statistics_reporting/inc/queries.inc.php index 39e43765..c77f0ed8 100644 --- a/modules-available/statistics_reporting/inc/queries.inc.php +++ b/modules-available/statistics_reporting/inc/queries.inc.php @@ -402,8 +402,7 @@ class Queries { $res = Database::queryFirst("SELECT Count(DISTINCT username) as `total` FROM statistic - WHERE (dateline BETWEEN $from AND $to) AND typeid = '.vmchooser-session-name' - GROUP BY username"); + WHERE (dateline BETWEEN $from AND $to) AND typeid = '.vmchooser-session-name'"); return (int)$res['total']; } |