[TASk] Fully qualified classes was expecting bool 84/58584/2
authorTomas Norre Mikkelsen <noreply@example.com>
Fri, 5 Oct 2018 16:30:40 +0000 (18:30 +0200)
committerBenni Mack <benni@typo3.org>
Sun, 28 Oct 2018 11:35:02 +0000 (12:35 +0100)
Releases: master
Resolves: #86582
Change-Id: Ie4a5578c632ff99898c97f5bd3a4e80f87260194
Reviewed-on: https://review.typo3.org/58584
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Documentation/Changelog/9.0/Deprecation-82254-DeprecateGLOBALSTYPO3_CONF_VARSEXTextConf.rst

index b2e4e9a..eb532b8 100644 (file)
@@ -35,7 +35,7 @@ Use a new API to retrieve extension configuration, examples:
     $backendConfiguration = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get('backend');
 
     // Fully qualified class names for usage in ext_localconf.php / ext_tables.php
-    $backendConfiguration = (bool)\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
+    $backendConfiguration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
         \TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class
     )->get('backend');