Skip to content

Commit 083cdf0

Browse files
author
florian030
committed
Revert "remove sys_groupid from output"
This reverts commit bc1e70a.
1 parent e9b9fd8 commit 083cdf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/tools_monitor.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ function showDatabaseSize () {
139139
foreach($data as $line) {
140140
$html .= '<tr>';
141141
if ($line['size'] > 0) $line['size'] = $app->functions->formatBytes($line['size']);
142-
//* remove sys_groupid from output
143-
unset($line['sys_groupid']);
142+
//* get the username
143+
$line['sys_groupid']=$app->db->queryOneRecord("SELECT client.username FROM web_database, sys_group, client WHERE web_database.sys_groupid = sys_group.groupid AND sys_group.client_id = client.client_id AND web_database.database_name='".$line['name']."'")['username'];
144144
//* get the domain
145145
$line['domain']=$app->db->queryOneRecord("SELECT domain FROM web_domain WHERE domain_id=(SELECT parent_domain_id FROM web_database WHERE database_name='".$line['name']."')")['domain'];
146146
foreach ($line as $item) {

0 commit comments

Comments
 (0)