]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Import/PocketImport.php
Replaced favorite word/icon with star one
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Import / PocketImport.php
index ac68b6d92b66396f21979a09ca6273d7bb5e6895..19b63f176cb8d78c1a00d003617d5ad3cffe699c 100644 (file)
@@ -226,7 +226,7 @@ class PocketImport implements ImportInterface
                 $entry->setArchived(true);
             }
 
-            // 0 or 1 - 1 If the item is favorited
+            // 0 or 1 - 1 If the item is starred
             if ($pocketEntry['favorite'] == 1) {
                 $entry->setStarred(true);
             }
@@ -258,7 +258,7 @@ class PocketImport implements ImportInterface
             // flush every 20 entries
             if (($i % 20) === 0) {
                 $this->em->flush();
-                $this->em->clear();
+                $this->em->clear($entry);
             }
             ++$i;
         }