Open BattleMoench opened 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
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