mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Fixed issues when adding/removing modules during the setup:
- When adding modules: the data model was not refreshed in the cache before attempting to load "structure" (or "sample") data - When removing a module: remaining (invalid) triggers were still used. SVN:trunk[1401]
This commit is contained in:
@@ -210,7 +210,8 @@ try
|
||||
throw(new Exception("File $sFileName does not exist"));
|
||||
}
|
||||
|
||||
$oDataLoader = new XMLDataLoader(TMP_CONFIG_FILE); // When called by the wizard, the final config is not yet there
|
||||
InitDataModel(TMP_CONFIG_FILE, false); // When called by the wizard, the final config is not yet there
|
||||
$oDataLoader = new XMLDataLoader();
|
||||
if ($sSessionStatus == 'start')
|
||||
{
|
||||
$oChange = MetaModel::NewObject("CMDBChange");
|
||||
|
||||
Reference in New Issue
Block a user