2022-03-23 11:00:37 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Garradin;
|
|
|
|
|
|
|
|
$old_version = $plugin->getInfos('version');
|
|
|
|
|
2022-03-25 20:28:57 +01:00
|
|
|
if (version_compare($old_version, '0.6.2', '<'))
|
2022-03-23 11:00:37 +01:00
|
|
|
{
|
2022-03-25 20:28:57 +01:00
|
|
|
// changement de nom de la configuration des champs nom
|
|
|
|
$champsNom = $plugin->getConfig('nomChamps');
|
|
|
|
if (null !== $champsNom)
|
|
|
|
{
|
|
|
|
$plugin->setConfig('champsNom', $champsNom);
|
|
|
|
$plugin->setConfig('nomChamps', null);
|
|
|
|
}
|
2022-03-23 11:00:37 +01:00
|
|
|
}
|