2023-02-06 14:10:00 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Garradin;
|
|
|
|
|
|
|
|
use Garradin\Entities\Files\File;
|
|
|
|
|
2023-02-06 18:37:12 +01:00
|
|
|
$old_version = $plugin->getInfos('version');
|
|
|
|
|
2023-02-06 14:10:00 +01:00
|
|
|
if (version_compare($old_version, '0.9', '<'))
|
|
|
|
{
|
|
|
|
$configNum = new \stdClass();
|
|
|
|
$configNum->prefixe = "";
|
|
|
|
$configNum->annee = false;
|
|
|
|
$configNum->membre = false;
|
|
|
|
$configNum->sequentiel = false;
|
|
|
|
$configNum->valeur_init = 1;
|
|
|
|
$plugin->setConfig('numerotation', $configNum);
|
|
|
|
$plugin->setConfig('imprimerCourriel', false);
|
|
|
|
}
|