Remove deprecated RequestHandler::isAjax(), use SS_HTTPRequest->isAjax() instead

This commit is contained in:
Sean Harvey 2012-11-15 10:52:13 +13:00
parent 491057fa95
commit 63983ad777

View File

@ -364,14 +364,6 @@ class RequestHandler extends ViewableData {
throw new SS_HTTPResponse_Exception($errorMessage, $errorCode); 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 the SS_HTTPRequest object that this controller is using.
* Returns a placeholder {@link NullHTTPRequest} object unless * Returns a placeholder {@link NullHTTPRequest} object unless