mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Remove deprecated RequestHandler::isAjax(), use SS_HTTPRequest->isAjax() instead
This commit is contained in:
parent
491057fa95
commit
63983ad777
@ -364,14 +364,6 @@ class RequestHandler extends ViewableData {
|
||||
throw new SS_HTTPResponse_Exception($errorMessage, $errorCode);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0 Use SS_HTTPRequest->isAjax() instead (through Controller->getRequest())
|
||||
*/
|
||||
public function isAjax() {
|
||||
Deprecation::notice('3.0', 'Use SS_HTTPRequest->isAjax() instead (through Controller->getRequest())');
|
||||
return $this->request->isAjax();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the SS_HTTPRequest object that this controller is using.
|
||||
* Returns a placeholder {@link NullHTTPRequest} object unless
|
||||
|
Loading…
x
Reference in New Issue
Block a user