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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96798 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-01-13 00:02:48 +00:00
parent 9abe9a581b
commit b561550c69

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