forked from wallabag/wallabag
Use FQCN as service name for Import services
This commit is contained in:
@ -6,6 +6,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
use Wallabag\ImportBundle\Form\Type\UploadImportType;
|
||||
use Wallabag\ImportBundle\Import\InstapaperImport;
|
||||
|
||||
class InstapaperController extends Controller
|
||||
{
|
||||
@ -17,7 +18,7 @@ class InstapaperController extends Controller
|
||||
$form = $this->createForm(UploadImportType::class);
|
||||
$form->handleRequest($request);
|
||||
|
||||
$instapaper = $this->get('wallabag_import.instapaper.import');
|
||||
$instapaper = $this->get(InstapaperImport::class);
|
||||
$instapaper->setUser($this->getUser());
|
||||
|
||||
if ($this->get('craue_config')->get('import_with_rabbitmq')) {
|
||||
|
||||
Reference in New Issue
Block a user