forked from wallabag/wallabag
Change the way to check for an existing entry
The repository method return the entry found or false if nothing exists.
This commit is contained in:
@ -63,6 +63,7 @@ services:
|
||||
- @wallabag_core.tag_repository
|
||||
- @wallabag_core.entry_repository
|
||||
|
||||
# repository as a service
|
||||
wallabag_core.entry_repository:
|
||||
class: Wallabag\CoreBundle\Repository\EntryRepository
|
||||
factory: [ @doctrine.orm.default_entity_manager, getRepository ]
|
||||
|
||||
Reference in New Issue
Block a user