[TASK] Only instantiate Locales in csConv when necessary 32/44932/3
authorBenni Mack <benni@typo3.org>
Tue, 24 Nov 2015 14:21:09 +0000 (15:21 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 25 Nov 2015 12:34:02 +0000 (13:34 +0100)
commitb715a5c63d9f613fa7eebae1845004e254e1c874
tree3b91c7dda0549dea50ec08f36db7bcdcaf2082bd
parente96f4ff96c4c11c06b4943d3994178de402c14cd
[TASK] Only instantiate Locales in csConv when necessary

The locales property inside CharsetConverter is only
used for detecting the browsers' preferred language,
so it does not need to be instantiated on every TYPO3
request.

Resolves: #71805
Releases: master
Change-Id: I2de5591e75bb7b9dd3feaf2182d3502b0c7384a8
Reviewed-on: https://review.typo3.org/44932
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Charset/CharsetConverter.php