Skip to content

Commit 3960ed6

Browse files
author
Marius Burkard
committed
Merge branch '5854-monitor-for-database-size-not-working' into 'develop'
Resolve "Monitor for Database Size not working" Closes #5854 See merge request ispconfig/ispconfig3!1292
2 parents ef816a6 + 989f0d0 commit 3960ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/100-monitor_database_size.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function onRunJob() {
7878
$state = 'ok';
7979

8080
/** Fetch the data of all databases into an array */
81-
$databases = $app->db->queryAllRecords("SELECT database_id, database_name, sys_groupid, database_quota, quota_exceeded FROM web_database WHERE server_id = ? GROUP BY sys_groupid, database_name ASC", $server_id);
81+
$databases = $app->db->queryAllRecords("SELECT database_id, database_name, sys_groupid, database_quota, quota_exceeded FROM web_database WHERE server_id = ? ORDER BY sys_groupid, database_name ASC", $server_id);
8282

8383
if(is_array($databases) && !empty($databases)) {
8484

0 commit comments

Comments
 (0)