X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FImport%2FPocketImport.php;h=29361a328cf11d44c62f4b1e18c1288b8a4ae15d;hb=23d24b17509ed3e8725bc911a8a2f8fe502e38f2;hp=ac68b6d92b66396f21979a09ca6273d7bb5e6895;hpb=dc12084d933dc4981a6ff489622845053d4914b3;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php index ac68b6d9..29361a32 100644 --- a/src/Wallabag/ImportBundle/Import/PocketImport.php +++ b/src/Wallabag/ImportBundle/Import/PocketImport.php @@ -258,7 +258,7 @@ class PocketImport implements ImportInterface // flush every 20 entries if (($i % 20) === 0) { $this->em->flush(); - $this->em->clear(); + $this->em->clear($entry); } ++$i; }