aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php
diff options
context:
space:
mode:
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 */