v8.5.1 : suppression variable dans data.json

This commit is contained in:
fredtempez 2018-12-10 23:18:17 +01:00
parent ad83be83e1
commit 5161b33118

View File

@ -931,6 +931,13 @@ class common {
$this->setData(['core', 'dataVersion', 850]);
$this->SaveData();
}
// Version 8.5.1
if($this->getData(['core', 'dataVersion']) < 851) {
$this->setData(['config','itemsperPage',10]);
$this->deleteData(['config','ItemsperPage']);
$this->setData(['core', 'dataVersion', 851]);
$this->SaveData();
}
}
}