Change value by deafult of new modules in field discard unknown events. Ticket: #4242
(cherry picked from commit 8593fb1bb5
)
This commit is contained in:
parent
08886f6a1e
commit
70bb715516
|
@ -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