forked from wallabag/wallabag
@ -214,7 +214,7 @@ class PocketImport implements ImportInterface
|
||||
|
||||
$existingEntry = $this->em
|
||||
->getRepository('WallabagCoreBundle:Entry')
|
||||
->existByUrlAndUserId($url, $this->user->getId());
|
||||
->findByUrlAndUserId($url, $this->user->getId());
|
||||
|
||||
if (false !== $existingEntry) {
|
||||
++$this->skippedEntries;
|
||||
|
||||
@ -127,7 +127,7 @@ class WallabagV1Import implements ImportInterface
|
||||
foreach ($entries as $importedEntry) {
|
||||
$existingEntry = $this->em
|
||||
->getRepository('WallabagCoreBundle:Entry')
|
||||
->existByUrlAndUserId($importedEntry['url'], $this->user->getId());
|
||||
->findByUrlAndUserId($importedEntry['url'], $this->user->getId());
|
||||
|
||||
if (false !== $existingEntry) {
|
||||
++$this->skippedEntries;
|
||||
|
||||
Reference in New Issue
Block a user