Skip to content
Snippets Groups Projects
Commit e0ad9d12 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction script migration statut autres

parent d9486e35
No related branches found
No related tags found
1 merge request!55Ll bug report services
......@@ -28,7 +28,9 @@ class MigrationStatutAutres extends AbstractMigration
";
$statutAutres = current($bdd->select($sqlStatutAutres));
//Si j'ai DOSSIER_ADRESSE alors je suis en V15
if (isset($statutAutres['DOSSIER_ADRESSE'])) {
//Alors je teste pour voir si pour le statut AUTRES aucun bloc de données perso est activé sinon je les désactive
return ($statutAutres['DOSSIER_ADRESSE'] ||
$statutAutres['DOSSIER_CONTACT'] ||
$statutAutres['DOSSIER_IBAN'] ||
......@@ -37,6 +39,9 @@ class MigrationStatutAutres extends AbstractMigration
);
}
return false;
}
public function action(string $contexte)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment