Skip to content
Snippets Groups Projects
Commit 32720f2e authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Fix powermail dependency

parent a99b7f3c
No related branches found
No related tags found
No related merge requests found
......@@ -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']) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment