mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +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) {
|
if ($id_agent_module === false) {
|
||||||
switch ($type_event) {
|
switch ($type_event) {
|
||||||
case EVENTS_GOING_UNKNOWN:
|
case EVENTS_GOING_UNKNOWN:
|
||||||
return true;
|
return false;
|
||||||
break;
|
break;
|
||||||
case EVENTS_UNKNOWN:
|
case EVENTS_UNKNOWN:
|
||||||
return false;
|
return false;
|
||||||
@ -118,7 +118,7 @@ function modules_is_disable_type_event($id_agent_module = false, $type_event = f
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user