// Delete isXmlHttpRequest
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15523 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
34770fe391
commit
d422dae42a
1 file changed
+1
-1
@@ -140,7 +140,7 @@ abstract class ControllerCore
|
|||||||
$this->context = Context::getContext();
|
$this->context = Context::getContext();
|
||||||
$this->context->controller = $this;
|
$this->context->controller = $this;
|
||||||
// Usage of ajax parameter is deprecated
|
// Usage of ajax parameter is deprecated
|
||||||
$this->ajax = Tools::getValue('ajax') || Tools::isSubmit('ajax') || $this->isXmlHttpRequest();
|
$this->ajax = Tools::getValue('ajax') || Tools::isSubmit('ajax');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user