]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Import/PocketImport.php
Add tests
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Import / PocketImport.php
index f598e61127c60d2b920ef73496c1b425e4fc6a0b..29361a328cf11d44c62f4b1e18c1288b8a4ae15d 100644 (file)
@@ -258,6 +258,7 @@ class PocketImport implements ImportInterface
             // flush every 20 entries
             if (($i % 20) === 0) {
                 $this->em->flush();
+                $this->em->clear($entry);
             }
             ++$i;
         }