[FOLLOWUP][TASK] Introduce getter for $GLOBALS['LANG'] in EXT:cshmanual 51/39051/3
authorMichael Oehlhof <typo3@oehlhof.de>
Tue, 28 Apr 2015 22:57:25 +0000 (00:57 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 29 Apr 2015 08:29:27 +0000 (10:29 +0200)
Fixes an issue mentioned by http://scrutinizer-ci.com/g/DFAU/TYPO3.CMS

Resolves: #66638
Releases: master
Change-Id: Ifad658b07fe5024b8cdaeae657a3ce637af8af80
Reviewed-on: http://review.typo3.org/39051
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/cshmanual/Classes/Controller/HelpModuleController.php

index c458f24..96c7444 100644 (file)
@@ -141,7 +141,7 @@ class HelpModuleController {
                // limitAccess is checked if the $this->table really IS a table (and if the user is NOT a translator who should see all!)
                $showAllToUser = BackendUtility::isModuleSetInTBE_MODULES('txllxmltranslateM1') && $GLOBALS['BE_USER']->check('modules', 'txllxmltranslateM1');
                $this->limitAccess = isset($GLOBALS['TCA'][$this->table]) ? !$showAllToUser : FALSE;
-               $this->getLanguageService()->includeLLFile('EXT:lang/locallang_view_help.xlf', 1);
+               $this->getLanguageService()->includeLLFile('EXT:lang/locallang_view_help.xlf');
        }
 
        /**