N°2249 - Supportability - Updater module (unified version name)

This commit is contained in:
Eric
2020-01-16 18:13:58 +01:00
parent 4552bc0778
commit 8a1a78444d
5 changed files with 9 additions and 8 deletions

View File

@@ -174,7 +174,7 @@ class RunTimeEnvironment
ROOT_MODULE => array(
'version_db' => '',
'name_db' => '',
'version_code' => ITOP_VERSION.'.'.ITOP_REVISION,
'version_code' => ITOP_VERSION_FULL,
'name_code' => ITOP_APPLICATION,
)
);
@@ -730,7 +730,7 @@ class RunTimeEnvironment
// Record main installation
$oInstallRec = new ModuleInstallation();
$oInstallRec->Set('name', ITOP_APPLICATION);
$oInstallRec->Set('version', ITOP_VERSION.'-'.ITOP_REVISION);
$oInstallRec->Set('version', ITOP_VERSION_FULL);
$oInstallRec->Set('comment', $sMainComment);
$oInstallRec->Set('parent_id', 0); // root module
$oInstallRec->Set('installed', $iInstallationTime);