diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index 2cda5cd..694285b 100755 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -145,9 +145,8 @@ class GoogleSitemap extends Controller { // But we want to still render. return array(); } else { - return new HTTPResponse('Not allowed', 405); + return new SS_HTTPResponse('Not allowed', 405); } - } public static function enable() {