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
|
@ -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')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue