[TASK] Tag autoloader cache entries
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Jul 2011 21:40:51 +0000 (23:40 +0200)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Thu, 14 Jul 2011 05:59:10 +0000 (07:59 +0200)
The autoloader creates cache files in phpcode_cache since #28063. Those
entries are now tagged with 't3lib_autoloader' to allow selective entry
dropping by tag.

Change-Id: Ib0591493307623b19b26de30a2923de9fb9cb662
Resolves: #28186
Related: #28063
Related: #28187
Reviewed-on: http://review.typo3.org/3318
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
t3lib/class.t3lib_autoloader.php

index aec4cf7..da7174c 100644 (file)
@@ -116,7 +116,7 @@ class t3lib_autoloader {
                                $cachedFileContent .= chr(10) . '\'' . $className . '\' => \'' . $classLocation . '\',';
                        }
                        $cachedFileContent .= chr(10) . ');';
-                       $phpCodeCache->set($autoloadCacheIdentifier, $cachedFileContent);
+                       $phpCodeCache->set($autoloadCacheIdentifier, $cachedFileContent, array('t3lib_autoloader'));
                }
 
                        // Require calculated cache file