diff --git a/core/core.php b/core/core.php index 5a49a74e..e2e68a0e 100644 --- a/core/core.php +++ b/core/core.php @@ -28,7 +28,7 @@ class common { const GROUP_ADMIN = 3; // Numéro de version stable - const ZWII_VERSION = '9.0.09'; + const ZWII_VERSION = '9.0.10'; public static $actions = []; public static $coreModuleIds = [ @@ -749,8 +749,8 @@ class common { $this->SaveData(); } // Version 9.0.01 - if($this->getData(['core', 'dataVersion']) < 9000) { - $this->deleteData(['config', 'social', 'googleplusId']); + if($this->getData(['core', 'dataVersion']) < 9001) { + $this->deleteData(['config', 'social', 'googleplusId']); $this->setData(['core', 'dataVersion', 9001]); $this->SaveData(); } @@ -768,7 +768,12 @@ class common { $this->setData(['core', 'dataVersion', 9009]); $this->SaveData(); } - + // Version 9.0.10 + if($this->getData(['core', 'dataVersion']) < 9010) { + $this->deleteData(['config', 'social', 'googleplusId']); + $this->setData(['core', 'dataVersion', 9010]); + $this->SaveData(); + } } }