Browse Source

enlever un persist qui ne sert à rien

François 6 years ago
parent
commit
3e5f00fba6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/AppBundle/Entity/Commentaire.php

+ 1 - 1
src/AppBundle/Entity/Commentaire.php

@@ -29,7 +29,7 @@ class Commentaire
     private $contenu;
 
     /**
-     * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Film", cascade={"remove"})
+     * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Film")
      * @ORM\JoinColumn(nullable=false)
      */
     private $film;