Merge branch 'master_dev'

This commit is contained in:
fredtempez 2019-03-24 09:00:23 +01:00
commit 091c599e26

View File

@ -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();
}
}
}