forked from wallabag/wallabag
Migrate getRepository with entities
This commit is contained in:
@ -126,7 +126,7 @@ class InstapaperImport extends AbstractImport
|
||||
public function parseEntry(array $importedEntry)
|
||||
{
|
||||
$existingEntry = $this->em
|
||||
->getRepository('WallabagCoreBundle:Entry')
|
||||
->getRepository(Entry::class)
|
||||
->findByUrlAndUserId($importedEntry['url'], $this->user->getId());
|
||||
|
||||
if (false !== $existingEntry) {
|
||||
|
||||
Reference in New Issue
Block a user