mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-31 07:47:28 +01:00
rename getAllEntriesIdAndUrl into findAllEntriesIdAndUrlByUserId
This commit is contained in:
parent
215409a8b2
commit
dbf1188c5b
@ -71,7 +71,7 @@ class CleanDuplicatesCommand extends ContainerAwareCommand
|
||||
$em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
||||
$repo = $this->getContainer()->get('wallabag_core.entry_repository');
|
||||
|
||||
$entries = $repo->getAllEntriesIdAndUrl($user->getId());
|
||||
$entries = $repo->findAllEntriesIdAndUrlByUserId($user->getId());
|
||||
|
||||
$duplicatesCount = 0;
|
||||
$urls = [];
|
||||
|
@ -355,7 +355,7 @@ class EntryRepository extends EntityRepository
|
||||
* Get id and url from all entries
|
||||
* Used for the clean-duplicates command.
|
||||
*/
|
||||
public function getAllEntriesIdAndUrl($userId)
|
||||
public function findAllEntriesIdAndUrlByUserId($userId)
|
||||
{
|
||||
$qb = $this->createQueryBuilder('e')
|
||||
->select('e.id, e.url')
|
||||
|
Loading…
x
Reference in New Issue
Block a user