recusfiscaux/upgrade.php
engel d7f78743c8 ajout mise à jour configuration
FossilOrigin-Name: 56439aa7656d7e3deaf5c8136317085459aa7c712b608b107c21ae2c868e3462
2023-02-06 13:10:00 +00:00

18 lines
413 B
PHP

<?php
namespace Garradin;
use Garradin\Entities\Files\File;
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);
}