diff --git a/libraries/Response.php b/libraries/Response.php index fda7aa0434..ac840778bb 100644 --- a/libraries/Response.php +++ b/libraries/Response.php @@ -67,14 +67,6 @@ class Response * @var bool */ private $_isDisabled; - /** - * Whether we are servicing an ajax request for a page - * that was fired using the generic page handler in JS. - * - * @access private - * @var bool - */ - private $_isAjaxPage; /** * Whether there were any errors during the processing of the request * Only used for ajax responses @@ -108,16 +100,10 @@ class Response $this->_isSuccess = true; $this->_isAjax = false; - $this->_isAjaxPage = false; $this->_isDisabled = false; if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) { $this->_isAjax = true; } - if (isset($_REQUEST['ajax_page_request']) - && $_REQUEST['ajax_page_request'] == true - ) { - $this->_isAjaxPage = true; - } $this->_header->setAjax($this->_isAjax); $this->_footer->setAjax($this->_isAjax); $this->_CWD = getcwd();