BUGFIX: Remove ref to obsolete ContentNegotiator::disable. See sapphire r93682

This commit is contained in:
lhudson 2010-01-21 01:40:35 +00:00
parent b8ae8755d5
commit 7a4f572fbc
1 changed files with 1 additions and 3 deletions

View File

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