[BUGFIX] Fatal error on clearing all caches in backend
authorOliver Hader <oliver@typo3.org>
Sun, 18 Dec 2011 09:56:50 +0000 (10:56 +0100)
committerOliver Hader <oliver@typo3.org>
Sun, 18 Dec 2011 10:09:06 +0000 (11:09 +0100)
Due to a misconfiguration of a hook in EXT:lang, clearing all caches fails.
class.tx_lang_clearallcache.php -> class.tx_lang_clearcache.php

Change-Id: Ifebbc919cedb3bf04777772015e59c6eb2d908dd
Fixes: #32658
Reviewed-on: http://review.typo3.org/7357
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/lang/ext_localconf.php

index 02e224c..cf211bc 100644 (file)
@@ -17,7 +17,7 @@ if (isset($GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['cache']['clear_menu']) &&
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']['clearLangCache'] = 'EXT:lang/hooks/clearcache/class.tx_lang_clearcachemenu.php:&tx_lang_clearcachemenu';
 } else {
                // Clear l10n cache when the user clears all caches
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']['clearLangCache'] = 'EXT:lang/hooks/clearcache/class.tx_lang_clearallcache.php:tx_lang_clearcache->clearCache';
+       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']['clearLangCache'] = 'EXT:lang/hooks/clearcache/class.tx_lang_clearcache.php:tx_lang_clearcache->clearCache';
 }
 
        // Register Ajax call