From 452d245e00232625cccdf81b2803526e5490e92d Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 7 Feb 2022 15:17:21 +0100 Subject: [PATCH] Effacer le dossier addon --- core/include/update.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 88bfb40b..1f768b26 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -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]); }