mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#10277 remove db size in about popup
This commit is contained in:
parent
997a8d5434
commit
427ab4d058
@ -659,15 +659,6 @@ class Diagnostics extends Wizard
|
|||||||
{
|
{
|
||||||
global $config;
|
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 = [
|
$result = [
|
||||||
'error' => false,
|
'error' => false,
|
||||||
'data' => [
|
'data' => [
|
||||||
@ -683,10 +674,6 @@ class Diagnostics extends Wizard
|
|||||||
'name' => __('DB Schema Build'),
|
'name' => __('DB Schema Build'),
|
||||||
'value' => $config['db_scheme_build'],
|
'value' => $config['db_scheme_build'],
|
||||||
],
|
],
|
||||||
'dbSize' => [
|
|
||||||
'name' => __('DB Size'),
|
|
||||||
'value' => $dbSize,
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user