remove getting user
This commit is contained in:
parent
7c2b895820
commit
185bede2b7
1 changed files with 0 additions and 2 deletions
|
@ -74,8 +74,6 @@ class UserController extends AbstractController
|
|||
#[Route('/wish/delete/{id}', name: 'delete_wish')]
|
||||
public function deleteWish(Wish $wish): Response
|
||||
{
|
||||
$user = $this->getUser();
|
||||
|
||||
$this->entityManager->remove($wish);
|
||||
$this->entityManager->flush();
|
||||
|
||||
|
|
Reference in a new issue