pickware / shopware-platform

Shopware platform mono repository
https://shopware.com
MIT License
1 stars 1 forks source link

Make sure the plugin manager deletes old plugin directories before unpacking updated plugin versions' archives. #12

Closed fixpunkt closed 5 years ago

fixpunkt commented 5 years ago

Yep, this works because the old plugin directory is renamed to create a "backup" before extracting the new plugin: https://github.com/shopware/platform/blame/3050211738e7141d0dfca24afb09e97f895a689a/src/Core/Framework/Plugin/PluginExtractor.php#L135