Merge branch 'ent-13253-cli-pfms-comando-delete_agent-borra-casi-todos-los-eventos-del-agente-borrado' into 'develop'
Avoid remove events on delete See merge request artica/pandorafms!7111
This commit is contained in:
commit
c37efd1b81
|
@ -3775,9 +3775,6 @@ sub pandora_delete_module {
|
|||
# Delete templates asociated to the module
|
||||
db_do ($dbh, 'DELETE FROM talert_template_modules WHERE id_agent_module = ?', $module_id);
|
||||
|
||||
# Delete events asociated to the module
|
||||
db_do ($dbh, 'DELETE FROM tevento WHERE id_agentmodule = ?', $module_id);
|
||||
|
||||
# Delete tags asociated to the module
|
||||
db_do ($dbh, 'DELETE FROM ttag_module WHERE id_agente_modulo = ?', $module_id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue