bc4739877c
FossilOrigin-Name: 467790c5738a867592117ea6b3a7ac6c61738dab3b8e29a48fed8f19b9df2b38
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);
|
|
}
|