Change value by deafult of new modules in field discard unknown events. Ticket: #4242
This commit is contained in:
parent
8cfb05fc99
commit
8593fb1bb5
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue