diff options
Diffstat (limited to 'src/Wallabag/ImportBundle')
-rw-r--r-- | src/Wallabag/ImportBundle/Command/ImportCommand.php | 3 | ||||
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/config/services.yml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Command/ImportCommand.php b/src/Wallabag/ImportBundle/Command/ImportCommand.php index 1df38295..d1325338 100644 --- a/src/Wallabag/ImportBundle/Command/ImportCommand.php +++ b/src/Wallabag/ImportBundle/Command/ImportCommand.php | |||
@@ -50,6 +50,9 @@ class ImportCommand extends ContainerAwareCommand | |||
50 | case 'chrome': | 50 | case 'chrome': |
51 | $wallabag = $this->getContainer()->get('wallabag_import.chrome.import'); | 51 | $wallabag = $this->getContainer()->get('wallabag_import.chrome.import'); |
52 | break; | 52 | break; |
53 | case 'instapaper': | ||
54 | $wallabag = $this->getContainer()->get('wallabag_import.instapaper.import'); | ||
55 | break; | ||
53 | case 'v1': | 56 | case 'v1': |
54 | default: | 57 | default: |
55 | $wallabag = $this->getContainer()->get('wallabag_import.wallabag_v1.import'); | 58 | $wallabag = $this->getContainer()->get('wallabag_import.wallabag_v1.import'); |
diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index 89adc71b..d600be0f 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml | |||
@@ -20,7 +20,6 @@ services: | |||
20 | arguments: | 20 | arguments: |
21 | - "@doctrine.orm.entity_manager" | 21 | - "@doctrine.orm.entity_manager" |
22 | - "@wallabag_core.content_proxy" | 22 | - "@wallabag_core.content_proxy" |
23 | - "@craue_config" | ||
24 | calls: | 23 | calls: |
25 | - [ setClient, [ "@wallabag_import.pocket.client" ] ] | 24 | - [ setClient, [ "@wallabag_import.pocket.client" ] ] |
26 | - [ setLogger, [ "@logger" ]] | 25 | - [ setLogger, [ "@logger" ]] |