fic test fonction update

This commit is contained in:
Prof Langues 2020-09-28 16:20:43 +02:00
parent f08650f148
commit 02951c7c66

View File

@ -1420,7 +1420,7 @@ class common {
$this->setData(['core', 'dataVersion', 10301]); $this->setData(['core', 'dataVersion', 10301]);
} }
// Version 10.4.00 // Version 10.4.00
if ($this->getData(['core', 'dataVersion']) < 10300) { if ($this->getData(['core', 'dataVersion']) < 10400) {
// Ajouter le prénom comme pseudo et le pseudo comme signature // Ajouter le prénom comme pseudo et le pseudo comme signature
foreach($this->getData(['user']) as $userId => $userIds){ foreach($this->getData(['user']) as $userId => $userIds){
$this->setData(['user',$userId,'pseudo',$this->getData(['user',$userId,'firstname'])]); $this->setData(['user',$userId,'pseudo',$this->getData(['user',$userId,'firstname'])]);