N°8981: review cleanup on module filtering due to extensoin removal

This commit is contained in:
odain
2026-01-07 19:48:34 +01:00
parent 5f2604c610
commit e55bbf728b
4 changed files with 20 additions and 19 deletions

View File

@@ -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);