Merge branch 'master' into gallery_stock_v2

This commit is contained in:
Fred Tempez 2020-04-02 21:44:07 +02:00
commit bb80657c93
1 changed files with 3 additions and 4 deletions

View File

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