From d0d3b2342ffd787ef39b4ce65733bf092d626cf5 Mon Sep 17 00:00:00 2001 From: mdevaud Date: Thu, 11 Apr 2024 13:43:45 +0200 Subject: [PATCH] fix: remove MailerFactory from SubOrderService.php --- Config/module.xml | 2 +- Controller/Admin/SubOrderController.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Config/module.xml b/Config/module.xml index 1eab62d..93a2007 100644 --- a/Config/module.xml +++ b/Config/module.xml @@ -13,7 +13,7 @@ en_US fr_FR - 1.0.4 + 1.0.5 mdevaud diff --git a/Controller/Admin/SubOrderController.php b/Controller/Admin/SubOrderController.php index 840db64..2ece3aa 100644 --- a/Controller/Admin/SubOrderController.php +++ b/Controller/Admin/SubOrderController.php @@ -3,18 +3,16 @@ namespace SubOrderGenerator\Controller\Admin; use SubOrderGenerator\Form\SubOrderFormCreate; -use SubOrderGenerator\Model\OpenApi\SubOrder; use SubOrderGenerator\Model\SubOrderQuery; use SubOrderGenerator\Service\SubOrderService; use SubOrderGenerator\SubOrderGenerator; -use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Symfony\Component\Routing\Annotation\Route; use Thelia\Controller\Admin\BaseAdminController; -use Thelia\Core\HttpFoundation\JsonResponse; use Thelia\Core\HttpFoundation\Response; use Thelia\Core\Translation\Translator; use Thelia\Form\Exception\FormValidationException; +use Thelia\Mailer\MailerFactory; use Thelia\Model\Base\OrderStatusQuery; use Thelia\Model\OrderStatus;