[TASK] Clean up MetaTagManager API
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / ext_localconf.php
index 70a86c3..a1b392d 100644 (file)
@@ -125,7 +125,7 @@ unset($extractorRegistry);
     'TCEMAIN.translateToMessage = Translate to %s:'
 );
 
-$metaTagManagerRegistry = \TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::getInstance();
+$metaTagManagerRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::class);
 $metaTagManagerRegistry->registerManager(
     'opengraph',
     \TYPO3\CMS\Core\MetaTag\OpenGraphMetaTagManager::class