20 lines
471 B
PHP
20 lines
471 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->setConfigProperty('numerotation', $configNum);
|
|
$plugin->setConfigProperty('imprimerCourriel', false);
|
|
}
|