isAjax()) { return null; } if (isset($_SESSION['pma_export_error'])) { unset($_SESSION['pma_export_error']); $this->response->addJSON('message', 'timeout'); return null; } $this->response->addJSON('message', 'success'); return null; } }