fix deletion of wishes after messed up merge

This commit is contained in:
Jannis Portmann 2021-05-08 23:32:12 +02:00
parent 02d6011675
commit 375e3ebec5

View file

@ -77,7 +77,6 @@ class UserController extends AbstractController
$user = $this->getUser();
$this->entityManager->remove($wish);
$this->entityManager->persist($wish);
$this->entityManager->flush();
$this->addFlash("success", "Successfully removed the wish!");