[TASK] Add clear l10n cache when the user clear all cache
authorDominique Feyer <dfeyer@ttree.ch>
Thu, 15 Dec 2011 14:47:52 +0000 (15:47 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Fri, 16 Dec 2011 13:04:40 +0000 (14:04 +0100)
commitb3fd4851a234297b598d5f9b956e2c6230d6edfc
treec040eee78a37512fb05ac31fcc975de43a3b65b3
parent08c684f03f2b6f86829a32f0df70a1d63581feb9
[TASK] Add clear l10n cache when the user clear all cache

Currently the l10n parser cache can only be cleared manually, by adding this in locallang.php:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['cache']['clear_menu'] = TRUE;

This patch change the default behavior. By default the l10n cache is cleared on "clear all cache",
if the clear l10n menu item is enabled, it's not cleared on clear all cache.

Change-Id: I969a76d4a17ed847f39884883a887f4e0cb9c3a3
Fixes: #32600
Releases: 4.7, 4.6
Reviewed-on: http://review.typo3.org/7283
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/lang/ext_localconf.php