mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00:00
rename getAllEntriesId into findAllEntriesIdByUserId
This commit is contained in:
parent
511f1ce1e8
commit
215409a8b2
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue