diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 4c8dfe2d3a..cb302a214b 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -42,9 +42,18 @@ include_once($config['homedir'] . "/include/functions_os.php"); ///////////////////////////////////////////////////////// // CONSTANTS DEFINITIONS // ///////////////////////////////////////////////////////// +// Priority modes define ('REPORT_PRIORITY_MODE_OK', 1); define ('REPORT_PRIORITY_MODE_UNKNOWN', 2); +// Status +define ('REPORT_STATUS_ERR', 0); +define ('REPORT_STATUS_OK', 1); +define ('REPORT_STATUS_UNKNOWN', 2); +define ('REPORT_STATUS_NOT_INIT', 3); +define ('REPORT_STATUS_DOWNTIME', 4); +define ('REPORT_STATUS_IGNORED', 5); + function reporting_user_can_see_report($id_report, $id_user = null) { global $config;