diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-21 08:38:37 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-21 08:38:37 +0100 |
commit | eff6a406f3eb67063ee8db660bb85c80472c7d95 (patch) | |
tree | beef510d7061b5df341ef77494fb54c53b6a50e7 /src/Wallabag | |
parent | ff1c7d16be07dd0749cf135ba6f633dafa78ba57 (diff) | |
parent | 7e808615885084a32e6be4ec3401f0fa288f4e1d (diff) | |
download | wallabag-eff6a406f3eb67063ee8db660bb85c80472c7d95.tar.gz wallabag-eff6a406f3eb67063ee8db660bb85c80472c7d95.tar.zst wallabag-eff6a406f3eb67063ee8db660bb85c80472c7d95.zip |
Merge pull request #1606 from wallabag/v2-tag-cascade
Remove tag relation when removing an entry
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 24b24dbb..bf8db5ab 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -168,7 +168,7 @@ class Entry | |||
168 | private $user; | 168 | private $user; |
169 | 169 | ||
170 | /** | 170 | /** |
171 | * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"}) | 171 | * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"}) |
172 | * @ORM\JoinTable | 172 | * @ORM\JoinTable |
173 | * | 173 | * |
174 | * @Groups({"entries_for_user", "export_all"}) | 174 | * @Groups({"entries_for_user", "export_all"}) |