mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-06 17:41:01 +00:00
rename getAllEntriesIdAndUrl into findAllEntriesIdAndUrlByUserId
This commit is contained in:
parent
215409a8b2
commit
dbf1188c5b
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ class CleanDuplicatesCommand extends ContainerAwareCommand
|
||||||
$em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
$em = $this->getContainer()->get('doctrine.orm.entity_manager');
|
||||||
$repo = $this->getContainer()->get('wallabag_core.entry_repository');
|
$repo = $this->getContainer()->get('wallabag_core.entry_repository');
|
||||||
|
|
||||||
$entries = $repo->getAllEntriesIdAndUrl($user->getId());
|
$entries = $repo->findAllEntriesIdAndUrlByUserId($user->getId());
|
||||||
|
|
||||||
$duplicatesCount = 0;
|
$duplicatesCount = 0;
|
||||||
$urls = [];
|
$urls = [];
|
||||||
|
|
|
@ -355,7 +355,7 @@ class EntryRepository extends EntityRepository
|
||||||
* Get id and url from all entries
|
* Get id and url from all entries
|
||||||
* Used for the clean-duplicates command.
|
* Used for the clean-duplicates command.
|
||||||
*/
|
*/
|
||||||
public function getAllEntriesIdAndUrl($userId)
|
public function findAllEntriesIdAndUrlByUserId($userId)
|
||||||
{
|
{
|
||||||
$qb = $this->createQueryBuilder('e')
|
$qb = $this->createQueryBuilder('e')
|
||||||
->select('e.id, e.url')
|
->select('e.id, e.url')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue