Project

General

Profile

Bug #28266 ยป clearautoloadcache.diff

Helmut Hummel, 2011-07-17 16:48

View differences:

t3lib/class.t3lib_extmgm.php
* @return integer Number of deleted files.
*/
public static function removeCacheFiles($cacheFilePrefix = NULL) {
$phpCodeCache = $GLOBALS['typo3CacheManager']->getCache('cache_phpcode');
$autoloadCacheIdentifier = TYPO3_MODE === 'FE' ? 't3lib_autoload_FE' : 't3lib_autoload_BE';
$phpCodeCache->remove($autoloadCacheIdentifier);
$cacheFiles = self::currentCacheFiles($cacheFilePrefix);
$out = 0;
    (1-1/1)