update module News 4.5

This commit is contained in:
Deltacms 2022-12-27 18:43:37 +01:00
parent 5644caa0c0
commit edf8dcb633
1 changed files with 3 additions and 2 deletions

View File

@ -580,10 +580,11 @@ class news extends common {
$this->setData(['module',$this->getUrl(0),'config', 'noMargin', true ]);
$this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.2' ]);
}
// Mise à jour 4.4
// Mise à jour 4.5
if (version_compare($versionData, '4.4', '<') ) {
// Mettre à jour la version
$this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.4' ]);
$this->setData(['module',$this->getUrl(0),'config', 'hideMedia', false ]);
$this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.5' ]);
}
}