aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/BrowserImport.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/BrowserImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/BrowserImport.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Wallabag/ImportBundle/Import/BrowserImport.php b/src/Wallabag/ImportBundle/Import/BrowserImport.php
index 198e148e..44315e8b 100644
--- a/src/Wallabag/ImportBundle/Import/BrowserImport.php
+++ b/src/Wallabag/ImportBundle/Import/BrowserImport.php
@@ -94,10 +94,6 @@ abstract class BrowserImport extends AbstractImport
94 // flush every 20 entries 94 // flush every 20 entries
95 if (($i % 20) === 0) { 95 if (($i % 20) === 0) {
96 $this->em->flush(); 96 $this->em->flush();
97
98 // clear only affected entities
99 $this->em->clear(Entry::class);
100 $this->em->clear(Tag::class);
101 } 97 }
102 ++$i; 98 ++$i;
103 } 99 }