Browse Source

remove useless code

master
Simon Vieille 4 weeks ago
parent
commit
2ce9de08ff
2 changed files with 0 additions and 3 deletions
  1. +0
    -2
      src/Controller/Account/AccountAdminController.php
  2. +0
    -1
      src/Manager/EntityManager.php

+ 0
- 2
src/Controller/Account/AccountAdminController.php View File

@ -84,8 +84,6 @@ class AccountAdminController extends AdminController
return $this->redirectToRoute('admin_account');
}
} else {
return $this->redirectToRoute('admin_account');
}
return $this->render('account/admin/edit.html.twig', [


+ 0
- 1
src/Manager/EntityManager.php View File

@ -66,6 +66,5 @@ class EntityManager
protected function persist(Entity $entity)
{
$this->entityManager->persist($entity);
$this->entityManager->flush();
}
}

Loading…
Cancel
Save