mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 13:16:28 +00:00
Merge pull request #1606 from wallabag/v2-tag-cascade
Remove tag relation when removing an entry
This commit is contained in:
commit
eff6a406f3
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class Entry
|
|||
private $user;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"})
|
||||
* @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"})
|
||||
* @ORM\JoinTable
|
||||
*
|
||||
* @Groups({"entries_for_user", "export_all"})
|
||||
|
|
Loading…
Reference in a new issue