recusfiscaux/upgrade.php

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);
}