[9.0.09] Core cleaning

This commit is contained in:
fredtempez 2019-03-23 21:13:11 +01:00
parent b544ba0611
commit 6deac16d34

View File

@ -740,6 +740,7 @@ class common {
}
// Version 9.0.0
if($this->getData(['core', 'dataVersion']) < 9000) {
$this->deleteData(['theme', 'site', 'block']);
if ($this->getData(['theme','menu','position']) === 'body-top') {
$this->setData(['theme','menu','position','top']);
}
@ -764,7 +765,6 @@ class common {
}
// Version 9.0.09
if($this->getData(['core', 'dataVersion']) < 9009) {
$this->deleteData(['theme', 'site', 'block','12']);
$this->setData(['core', 'dataVersion', 9009]);
$this->SaveData();
}