diff --git a/core/core.php b/core/core.php index 1a82c07f..9d3a10cb 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 = [ @@ -743,8 +743,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(); } @@ -762,7 +762,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(); + } } }