mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
rename getAllEntriesId into findAllEntriesIdByUserId
This commit is contained in:
parent
511f1ce1e8
commit
215409a8b2
@ -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…
x
Reference in New Issue
Block a user