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:
Sam Minnee 2008-10-16 04:33:02 +00:00
parent 31df9f440f
commit 74fd64b6d0

View File

@ -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;
}