mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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…
x
Reference in New Issue
Block a user