From 2b9b96482abd3124943e50e1a8808087aff692a9 Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Thu, 20 Oct 2011 15:09:32 +0000 Subject: [PATCH] // now ajaxProcess is handled by postProcess git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9511 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Controller.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/classes/Controller.php b/classes/Controller.php index 9f9ae22ac..267fa570f 100644 --- a/classes/Controller.php +++ b/classes/Controller.php @@ -117,10 +117,8 @@ abstract class ControllerCore { $this->init(); - if ($this->ajax && method_exists($this, 'ajaxProcess')) - $this->ajaxProcess(); - else - $this->postProcess(); + // postProcess handles ajaxProcess + $this->postProcess(); if ($this->display_header) {