mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
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:
parent
9abe9a581b
commit
b561550c69
@ -118,7 +118,7 @@ class FilesystemPublisher extends StaticPublisher {
|
|||||||
$response = Director::test(str_replace('+', ' ', $url));
|
$response = Director::test(str_replace('+', ' ', $url));
|
||||||
Requirements::clear();
|
Requirements::clear();
|
||||||
|
|
||||||
DataObject::flush_and_destroy_cache();
|
singleton('DataObject')->flushCache();
|
||||||
|
|
||||||
// Generate file content
|
// Generate file content
|
||||||
// PHP file caching will generate a simple script from a template
|
// PHP file caching will generate a simple script from a template
|
||||||
|
Loading…
x
Reference in New Issue
Block a user