Permalink
Browse files

Merge pull request #66 from Baachi/patch-1

Remove $entity from flush method
  • Loading branch information...
2 parents 8160e9a + 9b167a3 commit 96b0de37d91ba606d7bfb3482b1ef429dc7a3c2a @docteurklein docteurklein committed Mar 25, 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 96b0de3

Please sign in to comment.