forked from wallabag/wallabag
Migrate getRepository with entities
This commit is contained in:
@ -108,7 +108,7 @@ abstract class BrowserImport extends AbstractImport
|
||||
$url = \array_key_exists('uri', $importedEntry) ? $importedEntry['uri'] : $importedEntry['url'];
|
||||
|
||||
$existingEntry = $this->em
|
||||
->getRepository('WallabagCoreBundle:Entry')
|
||||
->getRepository(Entry::class)
|
||||
->findByUrlAndUserId($url, $this->user->getId());
|
||||
|
||||
if (false !== $existingEntry) {
|
||||
|
||||
Reference in New Issue
Block a user