From 8de8939b2ffdabb643062653374cfcc97c9d9dbd Mon Sep 17 00:00:00 2001 From: Benjamin Perche Date: Tue, 5 Aug 2014 15:51:44 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20cs=20=09modifi=C3=A9:=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20core/lib/Thelia/Action/Export.php=20=09modifi=C3=A9:?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20core/lib/Thelia/Action/Import.php=20?= =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20core/lib/Thelia/Conf?= =?UTF-8?q?ig/Resources/config.xml=20=09modifi=C3=A9:=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20core/lib/Thelia/Controller/Admin/FileController.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/lib/Thelia/Action/Export.php | 1 - core/lib/Thelia/Action/Import.php | 1 - core/lib/Thelia/Config/Resources/config.xml | 2 +- core/lib/Thelia/Controller/Admin/FileController.php | 3 +-- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core/lib/Thelia/Action/Export.php b/core/lib/Thelia/Action/Export.php index bdea9f360..de5ee5008 100644 --- a/core/lib/Thelia/Action/Export.php +++ b/core/lib/Thelia/Action/Export.php @@ -11,7 +11,6 @@ /*************************************************************************************/ namespace Thelia\Action; -use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Thelia\Core\Event\Cache\CacheEvent; diff --git a/core/lib/Thelia/Action/Import.php b/core/lib/Thelia/Action/Import.php index e0aef97b5..b0a8c4354 100644 --- a/core/lib/Thelia/Action/Import.php +++ b/core/lib/Thelia/Action/Import.php @@ -11,7 +11,6 @@ /*************************************************************************************/ namespace Thelia\Action; -use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Thelia\Core\Event\Cache\CacheEvent; diff --git a/core/lib/Thelia/Config/Resources/config.xml b/core/lib/Thelia/Config/Resources/config.xml index f25ef42b7..6e001e18a 100644 --- a/core/lib/Thelia/Config/Resources/config.xml +++ b/core/lib/Thelia/Config/Resources/config.xml @@ -137,7 +137,7 @@ - + diff --git a/core/lib/Thelia/Controller/Admin/FileController.php b/core/lib/Thelia/Controller/Admin/FileController.php index 4c7ae3751..bcd02fe9b 100644 --- a/core/lib/Thelia/Controller/Admin/FileController.php +++ b/core/lib/Thelia/Controller/Admin/FileController.php @@ -26,7 +26,6 @@ use Thelia\Files\FileModelInterface; use Thelia\Form\Exception\FormValidationException; use Thelia\Log\Tlog; use Thelia\Model\Lang; -use Thelia\Tools\MimeTypeTools; use Thelia\Tools\Rest\ResponseRest; use Thelia\Tools\URL; @@ -61,7 +60,7 @@ class FileController extends BaseAdminController * @param string $parentType Parent Type owning files being saved (product, category, content, etc.) * @param string $objectType Object type, e.g. image or document * @param array $validMimeTypes an array of valid mime types. If empty, any mime type is allowed. - * @param array $extBlackList an array of blacklisted extensions. + * @param array $extBlackList an array of blacklisted extensions. * @return Response */ public function saveFileAjaxAction(