Skip to content

Commit

Permalink
Suppression d'un flush qui cause des erreurs avec seo-bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jodou committed Apr 15, 2021
1 parent 786c1ad commit 418edbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Doctrine/EventSubscriber/TranslatableEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,6 @@ public function updateTranslations(ORM\Event\LifecycleEventArgs $args)
foreach ($translations as $translation) {
$translation->setTranslations($translationsArray);
$args->getEntityManager()->persist($translation);

$em->flush($translation);
}
}
}
Expand Down

0 comments on commit 418edbb

Please sign in to comment.