Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
BUGFIX: Remove ref to obsolete ContentNegotiator::disable. See sapphi…
…re r93682
  • Loading branch information
lhudson committed Jan 21, 2010
1 parent b8ae875 commit 7a4f572
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/GoogleSitemap.php
Expand Up @@ -139,8 +139,6 @@ public static function disable_google_notification() {
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.
Expand All @@ -158,4 +156,4 @@ public static function enable() {
public static function disable() {
self::$enabled = false;
}
}
}

0 comments on commit 7a4f572

Please sign in to comment.