aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-09-02 13:53:45 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-25 12:28:55 +0200
commitefe659ab84df5db23d95203c0cef8c43ed0914e1 (patch)
tree0229779aedc681db15aa9fef53d06222897b2840 /src/Wallabag/ImportBundle
parentae669126e718ede5dbf76929215d8514cd960976 (diff)
downloadwallabag-efe659ab84df5db23d95203c0cef8c43ed0914e1.tar.gz
wallabag-efe659ab84df5db23d95203c0cef8c43ed0914e1.tar.zst
wallabag-efe659ab84df5db23d95203c0cef8c43ed0914e1.zip
Add Chrome path for Mac OS
Diffstat (limited to 'src/Wallabag/ImportBundle')
-rw-r--r--src/Wallabag/ImportBundle/Command/ImportCommand.php4
-rw-r--r--src/Wallabag/ImportBundle/Import/BrowserImport.php8
2 files changed, 1 insertions, 11 deletions
diff --git a/src/Wallabag/ImportBundle/Command/ImportCommand.php b/src/Wallabag/ImportBundle/Command/ImportCommand.php
index 537dffc2..ac3d1d92 100644
--- a/src/Wallabag/ImportBundle/Command/ImportCommand.php
+++ b/src/Wallabag/ImportBundle/Command/ImportCommand.php
@@ -44,12 +44,10 @@ class ImportCommand extends ContainerAwareCommand
44 case 'v2': 44 case 'v2':
45 $wallabag = $this->getContainer()->get('wallabag_import.wallabag_v2.import'); 45 $wallabag = $this->getContainer()->get('wallabag_import.wallabag_v2.import');
46 break; 46 break;
47 case 'v1':
48 $wallabag = $this->getContainer()->get('wallabag_import.wallabag_v1.import');
49 break;
50 case 'browser': 47 case 'browser':
51 $wallabag = $this->getContainer()->get('wallabag_import.browser.import'); 48 $wallabag = $this->getContainer()->get('wallabag_import.browser.import');
52 break; 49 break;
50 case 'v1':
53 default: 51 default:
54 $wallabag = $this->getContainer()->get('wallabag_import.wallabag_v1.import'); 52 $wallabag = $this->getContainer()->get('wallabag_import.wallabag_v1.import');
55 break; 53 break;
diff --git a/src/Wallabag/ImportBundle/Import/BrowserImport.php b/src/Wallabag/ImportBundle/Import/BrowserImport.php
index 263a11d5..e3457196 100644
--- a/src/Wallabag/ImportBundle/Import/BrowserImport.php
+++ b/src/Wallabag/ImportBundle/Import/BrowserImport.php
@@ -175,14 +175,6 @@ class BrowserImport implements ImportInterface
175 $this->em->clear($entry); 175 $this->em->clear($entry);
176 } 176 }
177 ++$this->nbEntries; 177 ++$this->nbEntries;
178
179 /*
180
181 Maybe not useful. Delete at will.
182
183 */
184
185 $this->logger->info($this->nbEntries.' / '.$this->totalEntries);
186 } 178 }
187 } 179 }
188 180