From 2c82951e26fd0c8b9700ba83ced54a89a50bb7fe Mon Sep 17 00:00:00 2001 From: Dirk Persky Date: Tue, 16 Mar 2021 08:38:40 +0100 Subject: [PATCH] #55 TYPO3 11 --- Configuration/TCA/Overrides/tt_content.php | 9 --------- ext_emconf.php | 15 ++++++--------- ext_localconf.php | 11 ----------- 3 files changed, 6 insertions(+), 29 deletions(-) diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index e49a394..af494a4 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -9,13 +9,4 @@ * @license MIT */ -use TYPO3\CMS\Extbase\Utility\ExtensionUtility; - defined('TYPO3_MODE') || die(); - -// Register Plugin and name SPaces -ExtensionUtility::registerPlugin( - 'DpCookieconsent', - 'CookieConsent', - 'CookieConsent' -); \ No newline at end of file diff --git a/ext_emconf.php b/ext_emconf.php index 9a20aed..d5e760b 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -13,21 +13,18 @@ 'title' => 'Cookie Consent', 'description' => 'Include Cookie Consent, a lightweight JavaScript plugin for alerting users about the use of cookies on your website.', 'category' => 'fe', - 'state' => 'stable', - 'uploadfolder' => 0, - 'createDirs' => '', - 'clearCacheOnLoad' => 0, + 'clearCacheOnLoad' => true, 'author' => 'Dirk Persky', + 'author_company' => '', 'author_email' => 'infoy@dp-wired.de', - 'version' => '10.7.0', 'constraints' => [ 'depends' => [ - 'typo3' => '6.2.0-10.4.99' + 'typo3' => '6.2.0-11.1.99' ], 'conflicts' => [], - 'suggests' => [ - 'setup' => '', - ], + 'suggests' => [], ], + 'state' => 'stable', + 'version' => '11.0.0' ]; diff --git a/ext_localconf.php b/ext_localconf.php index dc9779a..b88a235 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -10,14 +10,3 @@ */ defined('TYPO3_MODE') or die(); -$boot = function () { - // Register FE namespace - \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( - 'DpCookieconsent', - 'CookieConsent', - [] - ); -}; - -$boot(); -unset($boot);