Entity/DocumentRepository.php
changeset 65 ba6b8e38d90e
parent 63 774ba82dca59
child 67 989d9e117586
--- 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;
     
     }