aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/PocketImport.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-11 18:48:36 +0200
committerGitHub <noreply@github.com>2016-09-11 18:48:36 +0200
commit59758d8fe5ad5ff554391515a78d84b0d47bdb76 (patch)
tree43054fdd7f15e11d681970dfb692b269fbf6b705 /src/Wallabag/ImportBundle/Import/PocketImport.php
parentc078d18372e05b09b40c34f67b7cb81446f30c4f (diff)
parent88e88016b9a86d76940082b62c85c3756f461cb2 (diff)
downloadwallabag-59758d8fe5ad5ff554391515a78d84b0d47bdb76.tar.gz
wallabag-59758d8fe5ad5ff554391515a78d84b0d47bdb76.tar.zst
wallabag-59758d8fe5ad5ff554391515a78d84b0d47bdb76.zip
Merge pull request #2279 from wallabag/cleanup-travis
Check if asset is enable instead of opposite
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 798cfdae..a6f905b1 100644
--- a/src/Wallabag/ImportBundle/Import/PocketImport.php
+++ b/src/Wallabag/ImportBundle/Import/PocketImport.php
@@ -255,11 +255,11 @@ class PocketImport extends AbstractImport
255 // flush every 20 entries 255 // flush every 20 entries
256 if (($i % 20) === 0) { 256 if (($i % 20) === 0) {
257 $this->em->flush(); 257 $this->em->flush();
258 $this->em->clear($entry);
259 } 258 }
260 ++$i; 259 ++$i;
261 } 260 }
262 261
263 $this->em->flush(); 262 $this->em->flush();
263 $this->em->clear();
264 } 264 }
265} 265}