Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remote $entity from flush method

  • Loading branch information...
commit 9b167a36a0dc10a8bf5a250c3987d4359dad556e 1 parent 2e02439
@Baachi Baachi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Controller/Controller.php
View
2  Controller/Controller.php
@@ -63,7 +63,7 @@ protected function remove($entity, $flush = false)
$this->getEntityManager()->remove($entity);
if ($flush) {
- $this->flush($entity);
+ $this->flush();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.