Skip to content
Snippets Groups Projects
Commit 1990ed86 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

C'est OseAppli qui supprime, pas le créateur de l'agrément

parent f4e1abdb
Branches bg-php8
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ class AgrementStructure extends AbstractMigration ...@@ -147,7 +147,7 @@ class AgrementStructure extends AbstractMigration
AGREMENT AGREMENT
SET SET
HISTO_DESTRUCTION = TO_DATE('2020 - 01 - 01', 'YYYY - MM - DD'), HISTO_DESTRUCTION = TO_DATE('2020 - 01 - 01', 'YYYY - MM - DD'),
HISTO_DESTRUCTEUR_ID = HISTO_CREATEUR_ID HISTO_DESTRUCTEUR_ID = " . $this->manager->getOseAdmin()->getOseAppliId() . "
WHERE ID = $agrementId"; WHERE ID = $agrementId";
$bdd->exec($sqlDelete); $bdd->exec($sqlDelete);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment