forked from ZwiiCMS-Team/ZwiiCMS
[9.0.10] Google+ erased
This commit is contained in:
parent
6deac16d34
commit
d96baf2380
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user