[9.2.27] data version

This commit is contained in:
Fred Tempez 2020-04-02 21:42:32 +02:00
parent e726f446e4
commit 8c58135cda
1 changed files with 3 additions and 3 deletions

View File

@ -1090,13 +1090,13 @@ class common {
$this->setData(['core', 'dataVersion', 9223]);
$this->saveData();
}
// Version 9.3.00
if($this->getData(['core', 'dataVersion']) < 9300) {
// Version 9.2.27
if($this->getData(['core', 'dataVersion']) < 9227) {
// Forcer la régénération du thème
if (file_exists(self::DATA_DIR.'theme.css') === false) {
unlink (self::DATA_DIR.'theme.css');
}
$this->setData(['core', 'dataVersion', 9300]);
$this->setData(['core', 'dataVersion', 9227]);
$this->saveData();
}
}