Browse Source

enlever un persist qui ne sert à rien

François 6 năm trước cách đây
mục cha
commit
3e5f00fba6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;