X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FCommand%2FCleanDuplicatesCommand.php;h=b58909db9f9c40b8c6cadbbdf25f27d7a8240a86;hb=d8dc7372ab3d8ac4c5d5546e5c5e00bf4bf2d862;hp=1caaa39101e99219058bab3d292fc1d90ab37f30;hpb=882da5c5eb283cbc7a869182b26a69b8fbebda2b;p=github%2Fwallabag%2Fwallabag.git 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 $em = $this->getContainer()->get('doctrine.orm.entity_manager'); $repo = $this->getContainer()->get('wallabag_core.entry_repository'); - $entries = $repo->getAllEntriesIdAndUrl($user->getId()); + $entries = $repo->findAllEntriesIdAndUrlByUserId($user->getId()); $duplicatesCount = 0; $urls = [];