diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-05-28 13:38:59 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-06-23 09:15:50 +0200 |
commit | af95c09c800e8aa8ef4af053f35d506136ecd685 (patch) | |
tree | 8158cc71958c537d95a0f827f97bad2bb3cf5680 /src | |
parent | 26ed851f529fe3a50217940d47c20d9cd0f8954e (diff) | |
download | wallabag-af95c09c800e8aa8ef4af053f35d506136ecd685.tar.gz wallabag-af95c09c800e8aa8ef4af053f35d506136ecd685.tar.zst wallabag-af95c09c800e8aa8ef4af053f35d506136ecd685.zip |
Fix the deletion of Tags/Entries relation when delete an entry
Fix #2121
Diffstat (limited to 'src')
-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 1271f1f5..84981414 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -177,7 +177,7 @@ class Entry | |||
177 | private $user; | 177 | private $user; |
178 | 178 | ||
179 | /** | 179 | /** |
180 | * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist", "remove"}) | 180 | * @ORM\ManyToMany(targetEntity="Tag", inversedBy="entries", cascade={"persist"}) |
181 | * @ORM\JoinTable | 181 | * @ORM\JoinTable |
182 | * | 182 | * |
183 | * @Groups({"entries_for_user", "export_all"}) | 183 | * @Groups({"entries_for_user", "export_all"}) |