[BUGFIX] Inefficient cache handling in LocalizationFactory 21/19921/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sat, 13 Apr 2013 12:13:56 +0000 (14:13 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 13 Apr 2013 13:37:54 +0000 (15:37 +0200)
commit5facaea304da8bf3c69a00ded5c80819a39e3123
tree776e5c4373a73f0b95d1c176a7152301c89de723
parentc82d91856d51cf17ca522df4c6ddf9e90ff9a2d6
[BUGFIX] Inefficient cache handling in LocalizationFactory

Calling has() in front of get() is inefficient and can be optimized.

Change-Id: Id8048023cc2305534a494664b402d47911087db6
Fixes: #47184
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19921
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Localization/LocalizationFactory.php