[FOLLOWUP][!!!][TASK] Remove deprecated LanguageService / label functionality 23/52623/3
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 26 Apr 2017 21:19:16 +0000 (23:19 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 27 Apr 2017 11:37:33 +0000 (13:37 +0200)
Remove the 4th argument of the call to
`PageRenderer::addInlineLanguageLabelFile`.

Resolves: #80708
Releases: master
Change-Id: If4557ae60236c7617976524214f3f5857d9a1072
Reviewed-on: https://review.typo3.org/52623
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Page/PageGenerator.php

index d6cfe57..5ca0187 100644 (file)
@@ -678,8 +678,7 @@ class PageGenerator
                 $pageRenderer->addInlineLanguageLabelFile(
                     $languageFile,
                     $languageFileConfig['selectionPrefix'] ?: '',
-                    $languageFileConfig['stripFromSelectionName'] ?: '',
-                    $languageFileConfig['errorMode'] ? (int)$languageFileConfig['errorMode'] : 0
+                    $languageFileConfig['stripFromSelectionName'] ?: ''
                 );
             }
         }