]> 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 ac68b6d92b66396f21979a09ca6273d7bb5e6895..29361a328cf11d44c62f4b1e18c1288b8a4ae15d 100644 (file)
@@ -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;
         }