[BUGFIX] Use $this-> instead of $GLOBALS['LANG'] in LanguageService 74/45374/3
authorBenni Mack <benni@typo3.org>
Sat, 19 Dec 2015 20:37:06 +0000 (21:37 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 21 Dec 2015 11:48:11 +0000 (12:48 +0100)
commitf0eac7b9f3e91d94005190757df45a14e7dcbca9
treed85bd81757e1e15b639c77359b653edf4721fafa
parent43c4d8c332005acd63ff64901f87f260815c244f
[BUGFIX] Use $this-> instead of $GLOBALS['LANG'] in LanguageService

The method getLabelsWithPrefix was moved to LanguageService and does not
use $this but currently uses $GLOBALS['LANG'].

This is not necessary and is changed accordingly.

Resolves: #72343
Releases: master
Change-Id: If4c0b37827ef66f33f7261018f5e44cab3a2d363
Reviewed-on: https://review.typo3.org/45374
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/lang/Classes/LanguageService.php