Minor: Add version status to version file data in system status

pull/3006/head
Yannick Warnier 5 years ago
parent 670d281422
commit 9a7ade66bd
  1. 3
      main/inc/lib/diagnoser.lib.php

@ -225,6 +225,7 @@ class Diagnoser
);
}
$new_version = '-';
$new_version_status = '';
$file = api_get_path(SYS_CODE_PATH).'install/version.php';
if (is_file($file)) {
@include($file);
@ -234,7 +235,7 @@ class Diagnoser
'[CONFIG]',
get_lang('VersionFromVersionFile'),
'#',
$new_version,
$new_version.' '.$new_version_status,
'-',
null,
get_lang('TheVersionFromTheVersionFileIsUpdatedWithEachVersionIfMainInstallDirectoryIsPresent')

Loading…
Cancel
Save