Commit c7bae010 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Suppression d'un persist inutile pour update.

parent 71d9be73
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -106,7 +106,6 @@ class IndividuService extends BaseService
        $entity->setEmail($userWrapper->getEmail());
        $entity->setHistoModificateur($utilisateur);

        $this->getEntityManager()->persist($entity);
        try {
            $this->getEntityManager()->flush($entity);
        } catch (OptimisticLockException $e) {