aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/PocketImport.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-18 15:29:57 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-18 15:29:57 +0200
commit23d24b17509ed3e8725bc911a8a2f8fe502e38f2 (patch)
tree3850b185d44a67e002837eed68def02a129695a3 /src/Wallabag/ImportBundle/Import/PocketImport.php
parentdc12084d933dc4981a6ff489622845053d4914b3 (diff)
downloadwallabag-23d24b17509ed3e8725bc911a8a2f8fe502e38f2.tar.gz
wallabag-23d24b17509ed3e8725bc911a8a2f8fe502e38f2.tar.zst
wallabag-23d24b17509ed3e8725bc911a8a2f8fe502e38f2.zip
Add tests
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/PocketImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/PocketImport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php
index ac68b6d9..29361a32 100644
--- a/src/Wallabag/ImportBundle/Import/PocketImport.php
+++ b/src/Wallabag/ImportBundle/Import/PocketImport.php
@@ -258,7 +258,7 @@ class PocketImport implements ImportInterface
258 // flush every 20 entries 258 // flush every 20 entries
259 if (($i % 20) === 0) { 259 if (($i % 20) === 0) {
260 $this->em->flush(); 260 $this->em->flush();
261 $this->em->clear(); 261 $this->em->clear($entry);
262 } 262 }
263 ++$i; 263 ++$i;
264 } 264 }