appels à Savedata() supprimés

This commit is contained in:
Fred Tempez 2020-03-02 13:14:19 +01:00
parent f6b607248c
commit 1d93f10602

View File

@ -1060,7 +1060,6 @@ class common {
} }
} }
$this->setData(['core', 'dataVersion', 9210]); $this->setData(['core', 'dataVersion', 9210]);
//$this->SaveData();
} }
// Version 9.2.11 // Version 9.2.11
if($this->getData(['core', 'dataVersion']) < 9211) { if($this->getData(['core', 'dataVersion']) < 9211) {
@ -1068,7 +1067,6 @@ class common {
$this->setData(['core', 'lastAutoUpdate', $autoUpdate]); $this->setData(['core', 'lastAutoUpdate', $autoUpdate]);
$this->setData(['config','autoUpdate', true]); $this->setData(['config','autoUpdate', true]);
$this->setData(['core', 'dataVersion', 9211]); $this->setData(['core', 'dataVersion', 9211]);
//$this->SaveData();
} }
// Version 9.2.12 // Version 9.2.12
if($this->getData(['core', 'dataVersion']) < 9212) { if($this->getData(['core', 'dataVersion']) < 9212) {
@ -1106,13 +1104,11 @@ class common {
$this->setData(['config', 'proxyPort', '' ]); $this->setData(['config', 'proxyPort', '' ]);
$this->setData(['config', 'proxyType', 'tcp://' ]); $this->setData(['config', 'proxyType', 'tcp://' ]);
$this->setData(['core', 'dataVersion', 9223]); $this->setData(['core', 'dataVersion', 9223]);
$this->saveData();
} }
// Version 10.0.00 // Version 10.0.00
if($this->getData(['core', 'dataVersion']) < 10000) { if($this->getData(['core', 'dataVersion']) < 10000) {
$this->setData(['config', 'faviconDark','faviconDark.ico']); $this->setData(['config', 'faviconDark','faviconDark.ico']);
$this->setData(['core', 'dataVersion', 10000]); $this->setData(['core', 'dataVersion', 10000]);
$this->saveData();
} }
} }
} }