aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-08 11:14:09 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-22 13:13:07 +0200
commit8c61fd12b1df50d481e9f82c39521cca7b8ad060 (patch)
tree877e849dda40dd7652ef650b1255c370c0627066 /src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php
parentca8b49f46e9e45875ef0f9dc88a8315489152e82 (diff)
downloadwallabag-8c61fd12b1df50d481e9f82c39521cca7b8ad060.tar.gz
wallabag-8c61fd12b1df50d481e9f82c39521cca7b8ad060.tar.zst
wallabag-8c61fd12b1df50d481e9f82c39521cca7b8ad060.zip
CS
Diffstat (limited to 'src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php')
-rw-r--r--src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php b/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php
index d5180577..f7210bd3 100644
--- a/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php
+++ b/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php
@@ -1,8 +1,8 @@
1<?php 1<?php
2
2namespace Wallabag\CoreBundle\Subscriber; 3namespace Wallabag\CoreBundle\Subscriber;
3 4
4use Doctrine\Common\EventSubscriber; 5use Doctrine\Common\EventSubscriber;
5use Doctrine\ORM\EntityManager;
6use Doctrine\ORM\Event\LifecycleEventArgs; 6use Doctrine\ORM\Event\LifecycleEventArgs;
7use Wallabag\CoreBundle\Entity\Entry; 7use Wallabag\CoreBundle\Entity\Entry;
8use Doctrine\Bundle\DoctrineBundle\Registry; 8use Doctrine\Bundle\DoctrineBundle\Registry;
@@ -38,7 +38,7 @@ class SQLiteCascadeDeleteSubscriber implements EventSubscriber
38 38
39 /** 39 /**
40 * We removed everything related to the upcoming removed entry because SQLite can't handle it on it own. 40 * We removed everything related to the upcoming removed entry because SQLite can't handle it on it own.
41 * We do it in the preRemove, because we can't retrieve tags in the postRemove (because the entry id is gone) 41 * We do it in the preRemove, because we can't retrieve tags in the postRemove (because the entry id is gone).
42 * 42 *
43 * @param LifecycleEventArgs $args 43 * @param LifecycleEventArgs $args
44 */ 44 */