Commit 4c708313 by Emma

fix forums with bans being unable to be deleted

parent 2b6918ca
Pipeline #17202761 failed with stage
in 5 minutes 59 seconds
......@@ -95,7 +95,7 @@ class Forum {
private $subscriptions;
/**
* @ORM\OneToMany(targetEntity="ForumBan", mappedBy="forum", cascade={"persist"})
* @ORM\OneToMany(targetEntity="ForumBan", mappedBy="forum", cascade={"persist", "remove"})
*
* @var ForumBan[]|Collection|Selectable
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment