[BUGFIX] Remove singleton for EXT:form Localization
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Classes / Controller / FormController.php
index 409d285..d4acd61 100644 (file)
@@ -68,7 +68,6 @@ class FormController {
         * @return void
         */
        public function initialize(array $typoscript) {
-               \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Form\\Localization', 'LLL:EXT:form/Resources/Private/Language/locallang_controller.xml');
                $this->typoscriptFactory = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Form\\Domain\\Factory\\TypoScriptFactory');
                $this->localizationHandler = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Form\\Localization');
                $this->requestHandler = $this->typoscriptFactory->setRequestHandler($typoscript);