From 74fd64b6d0a480dfd268cd2c2d1854e26e140d07 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 16 Oct 2008 04:33:02 +0000 Subject: [PATCH] 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 --- api/RSSFeed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/RSSFeed.php b/api/RSSFeed.php index 708564afa..273c10169 100755 --- a/api/RSSFeed.php +++ b/api/RSSFeed.php @@ -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; }