From e205eeb4d12921bcf3ef0ed21940427ae321604a Mon Sep 17 00:00:00 2001 From: rGaillard Date: Mon, 21 May 2012 15:14:29 +0000 Subject: [PATCH] // Delete isXmlHttpRequest --- classes/controller/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/controller/Controller.php b/classes/controller/Controller.php index adbf5ebaf..88636b61c 100644 --- a/classes/controller/Controller.php +++ b/classes/controller/Controller.php @@ -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'); } /**