mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
N°8981: review cleanup on module filtering due to extensoin removal
This commit is contained in:
@@ -1602,10 +1602,7 @@ JS
|
||||
$aDirsToScan[] = $sExtraDir;
|
||||
}
|
||||
$oProductionEnv = new RunTimeEnvironment();
|
||||
$aRemovedExtensionCodes = $oWizard->GetParameter('removed_extensions', null);
|
||||
if (! is_array($aRemovedExtensionCodes)) {
|
||||
$aRemovedExtensionCodes = [];
|
||||
}
|
||||
$aRemovedExtensionCodes = $oWizard->GetParameter('removed_extensions', []);
|
||||
$oExtensionsMap = new iTopExtensionsMap('production', $aDirsToScan);
|
||||
$oExtensionsMap->DeclareExtensionAsRemoved($aRemovedExtensionCodes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user