mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
841b11ed26
commit
ae5cf37f2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user