From 7a4f572fbc3867960c6106fb570f2bd4fd126987 Mon Sep 17 00:00:00 2001 From: lhudson Date: Thu, 21 Jan 2010 01:40:35 +0000 Subject: [PATCH] BUGFIX: Remove ref to obsolete ContentNegotiator::disable. See sapphire r93682 --- code/GoogleSitemap.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index 8181f54..cbd5fdf 100755 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -139,8 +139,6 @@ class GoogleSitemap extends Controller { function index($url) { if(self::$enabled) { SSViewer::set_source_file_comments(false); - // We need to override the default content-type - ContentNegotiator::disable(); $this->getResponse()->addHeader('Content-Type', 'application/xml; charset="utf-8"'); // But we want to still render. @@ -158,4 +156,4 @@ class GoogleSitemap extends Controller { public static function disable() { self::$enabled = false; } -} \ No newline at end of file +}