From 20842ce5fe08b0eb9b74124a06e408ec22ea574c Mon Sep 17 00:00:00 2001 From: sharvey Date: Tue, 4 May 2010 05:37:07 +0000 Subject: [PATCH] BUGFIX Fixed undefined class HTTPRequest, replacing it with SS_HTTPRequest as the class was renamed --- code/GoogleSitemap.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 @@ function index($url) { // 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() {