diff --git a/typo3/sysext/core/Classes/Localization/LanguageService.php b/typo3/sysext/core/Classes/Localization/LanguageService.php index 2c3103809523abd2a5533c7a0fb894b0d9c43155..234b3de5e4c5c586afe299890dda8fd6e8ae6078 100644 --- a/typo3/sysext/core/Classes/Localization/LanguageService.php +++ b/typo3/sysext/core/Classes/Localization/LanguageService.php @@ -55,13 +55,6 @@ class LanguageService */ public $debugKey = false; - /** - * Internal cache for read LL-files - * - * @var array - */ - protected $LL_files_cache = []; - /** * Internal cache for ll-labels (filled as labels are requested) * @@ -206,11 +199,7 @@ class LanguageService } $parts = explode(':', trim($restStr)); $parts[0] = $extPrfx . $parts[0]; - // Getting data if not cached - if (!isset($this->LL_files_cache[$parts[0]])) { - $this->LL_files_cache[$parts[0]] = $this->readLLfile($parts[0]); - } - $output = $this->getLLL($parts[1], $this->LL_files_cache[$parts[0]]); + $output = $this->getLLL($parts[1], $this->readLLfile($parts[0])); } else { // Use a constant non-localizable label $output = $input;