aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php2
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntryRepository.php2
2 files changed, 2 insertions, 2 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 = [];
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
index febc86d3..eb5e3205 100644
--- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php
+++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php
@@ -355,7 +355,7 @@ class EntryRepository extends EntityRepository
355 * Get id and url from all entries 355 * Get id and url from all entries
356 * Used for the clean-duplicates command. 356 * Used for the clean-duplicates command.
357 */ 357 */
358 public function getAllEntriesIdAndUrl($userId) 358 public function findAllEntriesIdAndUrlByUserId($userId)
359 { 359 {
360 $qb = $this->createQueryBuilder('e') 360 $qb = $this->createQueryBuilder('e')
361 ->select('e.id, e.url') 361 ->select('e.id, e.url')