diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Controller')
-rw-r--r-- | src/Wallabag/ImportBundle/Controller/ChromeController.php | 4 | ||||
-rw-r--r-- | src/Wallabag/ImportBundle/Controller/FirefoxController.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/ImportBundle/Controller/ChromeController.php b/src/Wallabag/ImportBundle/Controller/ChromeController.php index e4cc322a..454f3347 100644 --- a/src/Wallabag/ImportBundle/Controller/ChromeController.php +++ b/src/Wallabag/ImportBundle/Controller/ChromeController.php | |||
@@ -15,9 +15,9 @@ class ChromeController extends BrowserController | |||
15 | $service = $this->get('wallabag_import.chrome.import'); | 15 | $service = $this->get('wallabag_import.chrome.import'); |
16 | 16 | ||
17 | if ($this->get('craue_config')->get('import_with_rabbitmq')) { | 17 | if ($this->get('craue_config')->get('import_with_rabbitmq')) { |
18 | $service->setProducer($this->get('old_sound_rabbit_mq.import_wallabag_v1_producer')); | 18 | $service->setProducer($this->get('old_sound_rabbit_mq.import_chrome_producer')); |
19 | } elseif ($this->get('craue_config')->get('import_with_redis')) { | 19 | } elseif ($this->get('craue_config')->get('import_with_redis')) { |
20 | $service->setProducer($this->get('wallabag_import.producer.redis.wallabag_v1')); | 20 | $service->setProducer($this->get('wallabag_import.producer.redis.chrome')); |
21 | } | 21 | } |
22 | 22 | ||
23 | return $service; | 23 | return $service; |
diff --git a/src/Wallabag/ImportBundle/Controller/FirefoxController.php b/src/Wallabag/ImportBundle/Controller/FirefoxController.php index e0dd8214..c329b9c4 100644 --- a/src/Wallabag/ImportBundle/Controller/FirefoxController.php +++ b/src/Wallabag/ImportBundle/Controller/FirefoxController.php | |||
@@ -15,9 +15,9 @@ class FirefoxController extends BrowserController | |||
15 | $service = $this->get('wallabag_import.firefox.import'); | 15 | $service = $this->get('wallabag_import.firefox.import'); |
16 | 16 | ||
17 | if ($this->get('craue_config')->get('import_with_rabbitmq')) { | 17 | if ($this->get('craue_config')->get('import_with_rabbitmq')) { |
18 | $service->setProducer($this->get('old_sound_rabbit_mq.import_wallabag_v1_producer')); | 18 | $service->setProducer($this->get('old_sound_rabbit_mq.import_firefox_producer')); |
19 | } elseif ($this->get('craue_config')->get('import_with_redis')) { | 19 | } elseif ($this->get('craue_config')->get('import_with_redis')) { |
20 | $service->setProducer($this->get('wallabag_import.producer.redis.wallabag_v1')); | 20 | $service->setProducer($this->get('wallabag_import.producer.redis.firefox')); |
21 | } | 21 | } |
22 | 22 | ||
23 | return $service; | 23 | return $service; |