From 63983ad77745b9fca7929ebc90c840982bb3eba9 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 15 Nov 2012 10:52:13 +1300 Subject: [PATCH] Remove deprecated RequestHandler::isAjax(), use SS_HTTPRequest->isAjax() instead --- control/RequestHandler.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/control/RequestHandler.php b/control/RequestHandler.php index 92fd7df9a..e36612f7c 100644 --- a/control/RequestHandler.php +++ b/control/RequestHandler.php @@ -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