aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Controller
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-21 18:00:08 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-25 12:29:19 +0200
commit2c61db30b737685ae9102ec10f2371778fb13f1a (patch)
treeeb5d963e6c0609cf7371ab0d1625e4dd03359f4b /src/Wallabag/ImportBundle/Controller
parent59201088b4fc13fd361238396f630dabd9bd1990 (diff)
downloadwallabag-2c61db30b737685ae9102ec10f2371778fb13f1a.tar.gz
wallabag-2c61db30b737685ae9102ec10f2371778fb13f1a.tar.zst
wallabag-2c61db30b737685ae9102ec10f2371778fb13f1a.zip
cs & fixes
Diffstat (limited to 'src/Wallabag/ImportBundle/Controller')
-rw-r--r--src/Wallabag/ImportBundle/Controller/ChromeController.php4
-rw-r--r--src/Wallabag/ImportBundle/Controller/FirefoxController.php4
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;