--- a/Entity/DocumentRepository.php Wed Dec 14 23:53:37 2011 +0100
+++ b/Entity/DocumentRepository.php Mon Dec 19 17:50:04 2011 +0100
@@ -214,7 +214,6 @@
}
$this->getEntityManager()->persist($baseDocument);
- $this->getEntityManager()->flush();
return $baseDocument;
}