Effacer le dossier addon

This commit is contained in:
fredtempez 2022-02-07 15:17:21 +01:00
parent a4ad7645ea
commit 452d245e00

View File

@ -842,8 +842,11 @@ if ($this->getData(['core', 'dataVersion']) < 11300) {
}
// Version 12.0.00
if ($this->getData(['core', 'dataVersion']) < 11200) {
if ($this->getData(['core', 'dataVersion']) < 12000) {
// Effacer le dossier
$this->removeDir('core/module/addon');
// Mise à jour
$this->setData(['core', 'dataVersion', 11200]);
$this->setData(['core', 'dataVersion', 12000]);
}