mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Use FQCN as service name for Import services
This commit is contained in:
parent
4449265836
commit
a7addd3c13
15 changed files with 70 additions and 51 deletions
|
@ -4,6 +4,7 @@ namespace Wallabag\ImportBundle\Controller;
|
|||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
use Wallabag\ImportBundle\Import\FirefoxImport;
|
||||
|
||||
class FirefoxController extends BrowserController
|
||||
{
|
||||
|
@ -20,7 +21,7 @@ class FirefoxController extends BrowserController
|
|||
*/
|
||||
protected function getImportService()
|
||||
{
|
||||
$service = $this->get('wallabag_import.firefox.import');
|
||||
$service = $this->get(FirefoxImport::class);
|
||||
|
||||
if ($this->get('craue_config')->get('import_with_rabbitmq')) {
|
||||
$service->setProducer($this->get('old_sound_rabbit_mq.import_firefox_producer'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue