diff --git a/t3lib/class.t3lib_extmgm.php b/t3lib/class.t3lib_extmgm.php index 6a7a13f..49a1983 100644 --- a/t3lib/class.t3lib_extmgm.php +++ b/t3lib/class.t3lib_extmgm.php @@ -1577,6 +1577,10 @@ $GLOBALS[\'TYPO3_LOADED_EXT\'] = unserialize(stripslashes(\'' . addslashes(seria * @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;