Change value by deafult of new modules in field discard unknown events. Ticket: #4242

This commit is contained in:
m-lopez-f 2016-12-01 15:14:50 +01:00
parent 8cfb05fc99
commit 8593fb1bb5
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ function modules_is_disable_type_event($id_agent_module = false, $type_event = f
if ($id_agent_module === false) {
switch ($type_event) {
case EVENTS_GOING_UNKNOWN:
return true;
return false;
break;
case EVENTS_UNKNOWN:
return false;
@ -118,7 +118,7 @@ function modules_is_disable_type_event($id_agent_module = false, $type_event = f
return false;
}
}
return true;
return false;
}
/**