From 750e9f888162258b96f14f1ef27a6ce1c921da65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Sun, 28 Aug 2022 19:41:41 +0200 Subject: [PATCH] =?UTF-8?q?dev004=20suppression=20des=20donn=C3=A9es=20GT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/include/update.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 6fab14f9..7459d589 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -865,6 +865,12 @@ if ($this->getData(['core', 'dataVersion']) < 11600) { $this->deleteData(['locale', 'cookies', 'gaLabel']); $this->deleteData(['locale', 'cookies', 'checkboxGaLabel']); + // Suppression du booléen de langue, désormais toujours actif et de Google Translate + $this->deleteData(['config', 'i18n', 'enable']); + $this->deleteData(['config', 'i18n', 'scriptGoogle']); + $this->deleteData(['config', 'i18n', 'showCredits']); + $this->deleteData(['config', 'i18n', 'autoDetect']); + // Mise à jour $this->setData(['core', 'dataVersion', 11600]); }