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) {