[BUGFIX] Inefficient cache handling in LocalizationFactory 11/19911/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:35:36 +0000 (15:35 +0200)
commit8ae61b940d2b25abfab9a20bfa4834182d507f71
tree52d0ed6c24a7885813432c5f0f948092a8c81e13
parent445ef132b9912f09875151d2ccf6a379152abe21
[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/19911
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Localization/LocalizationFactory.php