Permalink
Browse files

Remote $entity from flush method

  • Loading branch information...
1 parent 2e02439 commit 9b167a36a0dc10a8bf5a250c3987d4359dad556e @Baachi Baachi committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Controller/Controller.php
@@ -63,7 +63,7 @@ protected function remove($entity, $flush = false)
$this->getEntityManager()->remove($entity);
if ($flush) {
- $this->flush($entity);
+ $this->flush();
}
}

0 comments on commit 9b167a3

Please sign in to comment.