BUGFIX: Removed destroy() calls from static cache builder; with the garbage collection improvements it shouldn't be necessary. (from r89983) (from r96798)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102661 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-13 03:26:37 +00:00
parent 841b11ed26
commit ae5cf37f2d

View File

@ -118,7 +118,7 @@ class FilesystemPublisher extends StaticPublisher {
$response = Director::test(str_replace('+', ' ', $url));
Requirements::clear();
DataObject::flush_and_destroy_cache();
singleton('DataObject')->flushCache();
// Generate file content
// PHP file caching will generate a simple script from a template