mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
BUGFIX Fixed undefined class HTTPRequest, replacing it with SS_HTTPRequest as the class was renamed
This commit is contained in:
parent
8d99fa75f2
commit
20842ce5fe
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user