diff --git a/webservices/status.php b/webservices/status.php index 69432370b..636ab4ec6 100644 --- a/webservices/status.php +++ b/webservices/status.php @@ -9,12 +9,12 @@ use Combodo\iTop\Application\Status\Status; try { new Status(); - $aResult = ['status' => STATUS_RUNNING, 'code' => RestResult::OK, 'message' => '', 'product' => ITOP_APPLICATION, 'version' => ITOP_VERSION]; + $aResult = ['status' => STATUS_RUNNING, 'code' => RestResult::OK, 'message' => '']; } catch (Exception $e) { $iCode = (defined('\RestResult::INTERNAL_ERROR')) ? RestResult::INTERNAL_ERROR : 100; - $aResult = ['status' => STATUS_ERROR, 'code' => $iCode, 'message' => $e->getMessage(), 'product' => ITOP_APPLICATION, 'version' => ITOP_VERSION]; + $aResult = ['status' => STATUS_ERROR, 'code' => $iCode, 'message' => $e->getMessage()]; http_response_code(500); }