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\WallabagV2Import;
|
||||
|
||||
class WallabagV2Controller extends WallabagController
|
||||
{
|
||||
|
@ -20,7 +21,7 @@ class WallabagV2Controller extends WallabagController
|
|||
*/
|
||||
protected function getImportService()
|
||||
{
|
||||
$service = $this->get('wallabag_import.wallabag_v2.import');
|
||||
$service = $this->get(WallabagV2Import::class);
|
||||
|
||||
if ($this->get('craue_config')->get('import_with_rabbitmq')) {
|
||||
$service->setProducer($this->get('old_sound_rabbit_mq.import_wallabag_v2_producer'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue