mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX #2963 - Fix RSSFeed to work with new add_cache_headers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64361 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
31df9f440f
commit
74fd64b6d0
@ -184,7 +184,7 @@ class RSSFeed extends ViewableData {
|
||||
}
|
||||
|
||||
$body = $this->feedContent();
|
||||
HTTP::add_cache_headers($body);
|
||||
HTTP::add_cache_headers();
|
||||
header("Content-type: text/xml");
|
||||
echo $body;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user