]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
rename getAllEntriesId into findAllEntriesIdByUserId
authorNicolas Hart <contact@nclshart.net>
Mon, 21 Aug 2017 16:19:42 +0000 (18:19 +0200)
committerNicolas Hart <contact@nclshart.net>
Tue, 22 Aug 2017 08:41:28 +0000 (10:41 +0200)
src/Wallabag/CoreBundle/Command/ReloadEntryCommand.php
src/Wallabag/CoreBundle/Repository/EntryRepository.php

index 8388722456af23300a933d79b2490fbeda6a6e2a..91998841cce246523ce672fe23d0d41a639637e0 100644 (file)
@@ -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) {
index 9a30cd790e80091891cf4e8264e5747ffd7cd546..febc86d3a69bdbf60a0d534fe9e9e525d99c1997 100644 (file)
@@ -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');