Skip to content

Commit

Permalink
Merge pull request #976 from susannemoog/latest
Browse files Browse the repository at this point in the history
  • Loading branch information
helhum committed Apr 11, 2021
2 parents 3d0a322 + b443a27 commit 1bd0194
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Classes/Console/Core/Booting/Scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ public static function initializeExtensionConfiguration(ContainerInterface $cont
$container->get('boot.state')->done = false;
$assetsCache = $container->get('cache.assets');
$coreCache = $container->get('cache.core');
IconRegistry::setCache($assetsCache);
// compatibility to < v11
if (method_exists(IconRegistry::class, 'setCache')) {
IconRegistry::setCache($assetsCache);
}
PageRenderer::setCache($assetsCache);
Bootstrap::loadTypo3LoadedExtAndExtLocalconf(true, $coreCache);
Bootstrap::unsetReservedGlobalVariables();
Expand Down

0 comments on commit 1bd0194

Please sign in to comment.