[!!!][TASK] Remove deprecated code in EXT:core
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Configuration / SiteConfiguration.php
index f8a5f62..30943d0 100644 (file)
@@ -110,13 +110,6 @@ class SiteConfiguration
             foreach ($finder as $fileInfo) {
                 $configuration = $loader->load(GeneralUtility::fixWindowsFilePath((string)$fileInfo));
                 $identifier = basename($fileInfo->getPath());
-                if (isset($configuration['site'])) {
-                    trigger_error(
-                        'Site configuration with key \'site\' has been deprecated, remove indentation level and site key.',
-                        E_USER_DEPRECATED
-                    );
-                    $configuration = $configuration['site'];
-                }
                 $siteConfiguration[$identifier] = $configuration;
             }
             $this->getCache()->set($this->cacheIdentifier, json_encode($siteConfiguration));