update news
This commit is contained in:
parent
9fad1d4278
commit
e0e6701b1b
|
@ -587,7 +587,7 @@ class news extends common {
|
|||
$this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.2' ]);
|
||||
}
|
||||
// Mise à jour 4.5
|
||||
if (version_compare($versionData, '4.4', '<') ) {
|
||||
if (version_compare($versionData, '4.5', '<') ) {
|
||||
// Mettre à jour la version
|
||||
$this->setData(['module',$this->getUrl(0),'config', 'hideMedia', false ]);
|
||||
$this->setData(['module',$this->getUrl(0),'config', 'versionData', '4.5' ]);
|
||||
|
|
Loading…
Reference in New Issue