20 lines
455 B
PHP
20 lines
455 B
PHP
<?php
|
|
|
|
namespace Paheko;
|
|
|
|
use Paheko\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);
|
|
}
|