aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-08-22 11:21:04 +0200
committerGitHub <noreply@github.com>2017-08-22 11:21:04 +0200
commit54171dd796a6cedc076357e4eb62e6dc1ce6dd64 (patch)
tree9de9c091b90603ab73e8c264bd1fd7a26af35dbe /src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php
parent4d2758dfa0f12ff07da6cf907de7737f19219fea (diff)
parentdbf1188c5b78b7190cbfce2db00e08d5e69029ff (diff)
downloadwallabag-54171dd796a6cedc076357e4eb62e6dc1ce6dd64.tar.gz
wallabag-54171dd796a6cedc076357e4eb62e6dc1ce6dd64.tar.zst
wallabag-54171dd796a6cedc076357e4eb62e6dc1ce6dd64.zip
Merge pull request #3326 from nclsHart/reload-entry-command
Add reload entry command
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php')
-rw-r--r--src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php b/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php
index 1caaa391..b58909db 100644
--- a/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php
+++ b/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php
@@ -71,7 +71,7 @@ class CleanDuplicatesCommand extends ContainerAwareCommand
71 $em = $this->getContainer()->get('doctrine.orm.entity_manager'); 71 $em = $this->getContainer()->get('doctrine.orm.entity_manager');
72 $repo = $this->getContainer()->get('wallabag_core.entry_repository'); 72 $repo = $this->getContainer()->get('wallabag_core.entry_repository');
73 73
74 $entries = $repo->getAllEntriesIdAndUrl($user->getId()); 74 $entries = $repo->findAllEntriesIdAndUrlByUserId($user->getId());
75 75
76 $duplicatesCount = 0; 76 $duplicatesCount = 0;
77 $urls = []; 77 $urls = [];