mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch 'ent-10277-vista-about-tarda-mucho' into 'develop'
Ent 10277 vista about tarda mucho See merge request artica/pandorafms!5493
This commit is contained in:
commit
9a7c9488eb
@ -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