aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/WallabagImport.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/WallabagImport.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/WallabagImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/WallabagImport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagImport.php b/src/Wallabag/ImportBundle/Import/WallabagImport.php
index a1cc085b..581ec178 100644
--- a/src/Wallabag/ImportBundle/Import/WallabagImport.php
+++ b/src/Wallabag/ImportBundle/Import/WallabagImport.php
@@ -172,12 +172,12 @@ abstract class WallabagImport extends AbstractImport
172 // flush every 20 entries 172 // flush every 20 entries
173 if (($i % 20) === 0) { 173 if (($i % 20) === 0) {
174 $this->em->flush(); 174 $this->em->flush();
175 $this->em->clear($entry);
176 } 175 }
177 ++$i; 176 ++$i;
178 } 177 }
179 178
180 $this->em->flush(); 179 $this->em->flush();
180 $this->em->clear();
181 } 181 }
182 182
183 /** 183 /**