OXIDprojects / oxid_modules_config

OXID Module Configuration Im-/Exporter module by OXID Professional Services
GNU General Public License v3.0
3 stars 9 forks source link

Update ConfigImport.php #41

Open BattleMoench opened 4 years ago

BattleMoench commented 4 years ago

only deactivate module if it is activated. We can run into the case, that a not activated module is updated to a newer version. Then we run into a ModuleSetupException. See

https://github.com/OXID-eSales/oxideshop_ce/blob/e454b1de3a675ba023bc4e2c76eb626a0ac1e794/source/Internal/Framework/Module/Setup/Service/ModuleActivationService.php#L121