Private GIT

Skip to content
Snippets Groups Projects
Commit e018e6fc authored by loiclau's avatar loiclau
Browse files

show future downtime

parent 2f1da22e
Branches
Tags
No related merge requests found
...@@ -73,7 +73,6 @@ class Centreon_Object_RtDowntime extends Centreon_Object ...@@ -73,7 +73,6 @@ class Centreon_Object_RtDowntime extends Centreon_Object
"AND d.cancelled = 0 " . "AND d.cancelled = 0 " .
"AND service_id IS NULL " . "AND service_id IS NULL " .
"AND end_time > UNIX_TIMESTAMP(NOW()) " . "AND end_time > UNIX_TIMESTAMP(NOW()) " .
"AND start_time < UNIX_TIMESTAMP(NOW()) " .
$hostFilter . $hostFilter .
"ORDER BY actual_start_time, name"; "ORDER BY actual_start_time, name";
...@@ -107,7 +106,6 @@ class Centreon_Object_RtDowntime extends Centreon_Object ...@@ -107,7 +106,6 @@ class Centreon_Object_RtDowntime extends Centreon_Object
"AND s.host_id = h.host_id " . "AND s.host_id = h.host_id " .
"AND d.cancelled = 0 " . "AND d.cancelled = 0 " .
"AND end_time > UNIX_TIMESTAMP(NOW()) " . "AND end_time > UNIX_TIMESTAMP(NOW()) " .
"AND start_time < UNIX_TIMESTAMP(NOW()) " .
$serviceFilter . $serviceFilter .
"ORDER BY actual_start_time, h.name, s.description"; "ORDER BY actual_start_time, h.name, s.description";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment