From 427ab4d058724b83d1ff7e832cc2bea507740773 Mon Sep 17 00:00:00 2001 From: Daniel Cebrian Date: Wed, 1 Feb 2023 17:51:31 +0100 Subject: [PATCH] #10277 remove db size in about popup --- pandora_console/include/class/Diagnostics.class.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pandora_console/include/class/Diagnostics.class.php b/pandora_console/include/class/Diagnostics.class.php index a60cb7cf77..b0f698252b 100644 --- a/pandora_console/include/class/Diagnostics.class.php +++ b/pandora_console/include/class/Diagnostics.class.php @@ -659,15 +659,6 @@ class Diagnostics extends Wizard { global $config; - // Size BBDD. - $dbSizeSql = db_get_value_sql( - 'SELECT ROUND(SUM(data_length+index_length)/1024/1024,3) - FROM information_schema.TABLES' - ); - - // Add unit size. - $dbSize = $dbSizeSql.' M'; - $result = [ 'error' => false, 'data' => [ @@ -683,10 +674,6 @@ class Diagnostics extends Wizard 'name' => __('DB Schema Build'), 'value' => $config['db_scheme_build'], ], - 'dbSize' => [ - 'name' => __('DB Size'), - 'value' => $dbSize, - ], ], ];