fix deletion of wishes after messed up merge
This commit is contained in:
parent
02d6011675
commit
375e3ebec5
1 changed files with 0 additions and 1 deletions
|
@ -77,7 +77,6 @@ class UserController extends AbstractController
|
||||||
$user = $this->getUser();
|
$user = $this->getUser();
|
||||||
|
|
||||||
$this->entityManager->remove($wish);
|
$this->entityManager->remove($wish);
|
||||||
$this->entityManager->persist($wish);
|
|
||||||
$this->entityManager->flush();
|
$this->entityManager->flush();
|
||||||
|
|
||||||
$this->addFlash("success", "Successfully removed the wish!");
|
$this->addFlash("success", "Successfully removed the wish!");
|
||||||
|
|
Reference in a new issue