// Delete isXmlHttpRequest

This commit is contained in:
rGaillard
2012-05-21 15:14:29 +00:00
parent 9728babe15
commit e205eeb4d1
+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');
}
/**