diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 11:14:09 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-22 13:13:07 +0200 |
commit | 8c61fd12b1df50d481e9f82c39521cca7b8ad060 (patch) | |
tree | 877e849dda40dd7652ef650b1255c370c0627066 /src/Wallabag/CoreBundle/Subscriber | |
parent | ca8b49f46e9e45875ef0f9dc88a8315489152e82 (diff) | |
download | wallabag-8c61fd12b1df50d481e9f82c39521cca7b8ad060.tar.gz wallabag-8c61fd12b1df50d481e9f82c39521cca7b8ad060.tar.zst wallabag-8c61fd12b1df50d481e9f82c39521cca7b8ad060.zip |
CS
Diffstat (limited to 'src/Wallabag/CoreBundle/Subscriber')
-rw-r--r-- | src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php | 4 |
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 | |||
2 | namespace Wallabag\CoreBundle\Subscriber; | 3 | namespace Wallabag\CoreBundle\Subscriber; |
3 | 4 | ||
4 | use Doctrine\Common\EventSubscriber; | 5 | use Doctrine\Common\EventSubscriber; |
5 | use Doctrine\ORM\EntityManager; | ||
6 | use Doctrine\ORM\Event\LifecycleEventArgs; | 6 | use Doctrine\ORM\Event\LifecycleEventArgs; |
7 | use Wallabag\CoreBundle\Entity\Entry; | 7 | use Wallabag\CoreBundle\Entity\Entry; |
8 | use Doctrine\Bundle\DoctrineBundle\Registry; | 8 | use 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 | */ |