3e53f19453
FossilOrigin-Name: 2e194af9739c1603c6471619fe3b9720beb014d8d11442d01a42fc722ca9e790
17 lines
378 B
PHP
17 lines
378 B
PHP
<?php
|
|
|
|
namespace Garradin;
|
|
|
|
$old_version = $plugin->getInfos('version');
|
|
|
|
if (version_compare($old_version, '0.6.2', '<'))
|
|
{
|
|
// changement de nom de la configuration des champs nom
|
|
$champsNom = $plugin->getConfig('nomChamps');
|
|
if (null !== $champsNom)
|
|
{
|
|
$plugin->setConfig('champsNom', $champsNom);
|
|
$plugin->setConfig('nomChamps', null);
|
|
}
|
|
}
|