Selaa lähdekoodia

enlever un persist qui ne sert à rien

François 6 vuotta sitten
vanhempi
commit
3e5f00fba6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;