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