diff --git a/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php b/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php index 838872245..91998841c 100644 --- a/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php +++ b/src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php @@ -41,7 +41,7 @@ class ReloadEntryCommand extends ContainerAwareCommand } $entryRepository = $this->getContainer()->get('wallabag_core.entry_repository'); - $entryIds = $entryRepository->getAllEntriesId($userId); + $entryIds = $entryRepository->findAllEntriesIdByUserId($userId); $nbEntries = count($entryIds); if (!$nbEntries) { diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 9a30cd790..febc86d3a 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -369,7 +369,7 @@ class EntryRepository extends EntityRepository * * @return array */ - public function getAllEntriesId($userId = null) + public function findAllEntriesIdByUserId($userId = null) { $qb = $this->createQueryBuilder('e') ->select('e.id');