// Delete isXmlHttpRequest

This commit is contained in:
rGaillard
2012-05-21 15:14:29 +00:00
parent 4a5d453a7a
commit 9aac5773a1
+1 -1
View File
@@ -140,7 +140,7 @@ abstract class ControllerCore
$this->context = Context::getContext();
$this->context->controller = $this;
// Usage of ajax parameter is deprecated
$this->ajax = Tools::getValue('ajax') || Tools::isSubmit('ajax') || $this->isXmlHttpRequest();
$this->ajax = Tools::getValue('ajax') || Tools::isSubmit('ajax');
}
/**