]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Import/BrowserImport.php
Fixed tests by removing clear()
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Import / BrowserImport.php
index 198e148e4cfed4bc4bbd5375825dfd79ce8904a2..44315e8bbf94c5a75f9e5a5027423f2625ee0514 100644 (file)
@@ -94,10 +94,6 @@ abstract class BrowserImport extends AbstractImport
             // flush every 20 entries
             if (($i % 20) === 0) {
                 $this->em->flush();
-
-                // clear only affected entities
-                $this->em->clear(Entry::class);
-                $this->em->clear(Tag::class);
             }
             ++$i;
         }