Avoid remove events on delete

This commit is contained in:
Félix Suárez 2024-04-01 15:00:02 -06:00
parent 16e6755214
commit 78f583aae0
1 changed files with 0 additions and 3 deletions

View File

@ -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);