From 32720f2e051a2d64db1a650b58112b77d8d21871 Mon Sep 17 00:00:00 2001 From: Stefan Galinski <stefan@sgalinski.de> Date: Mon, 10 Sep 2018 17:58:37 +0200 Subject: [PATCH] [TASK] Fix powermail dependency --- Classes/Controller/BackendController.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index da66463..2ce6d9d 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -26,7 +26,6 @@ namespace SGalinski\SgNews\Controller; * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ -use In2code\Powermail\Utility\LocalizationUtility; use SGalinski\SgNews\Service\LicensingService; use SGalinski\SgNews\Utility\BackendNewsUtility; use TYPO3\CMS\Backend\Clipboard\Clipboard; @@ -40,6 +39,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\VersionNumberUtility; use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; use TYPO3\CMS\Extbase\Mvc\View\ViewInterface; +use TYPO3\CMS\Extbase\Utility\LocalizationUtility; /** * News Controller @@ -174,9 +174,6 @@ class BackendController extends ActionController { * @throws \InvalidArgumentException * @throws \UnexpectedValueException * @throws \TYPO3\CMS\Extbase\Persistence\Exception\InvalidQueryException - * @throws \TYPO3\CMS\Extbase\Persistence\Generic\Exception - * @throws \TYPO3\CMS\Extbase\Persistence\Generic\Exception\InvalidNumberOfConstraintsException - * @throws \TYPO3\CMS\Extbase\Persistence\Generic\Exception\UnexpectedTypeException */ public function indexAction(array $filters = NULL) { $showNewsList = FALSE; @@ -282,7 +279,7 @@ class BackendController extends ActionController { * @throws \InvalidArgumentException */ public function initClipboard() { - if (is_array($this->clipboardCommandArray)) { + if (\is_array($this->clipboardCommandArray)) { $clipObj = GeneralUtility::makeInstance(Clipboard::class); $clipObj->initializeClipboard(); if ($this->clipboardCommandArray['paste']) { -- GitLab