recusfiscaux/upgrade.php

20 lines
459 B
PHP
Raw Normal View History

<?php
namespace Garradin;
use Garradin\Entities\Files\File;
$old_version = $plugin->getInfos('version');
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);
}