mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Avoid remove events on delete
This commit is contained in:
parent
16e6755214
commit
78f583aae0
@ -3775,9 +3775,6 @@ sub pandora_delete_module {
|
|||||||
# Delete templates asociated to the module
|
# Delete templates asociated to the module
|
||||||
db_do ($dbh, 'DELETE FROM talert_template_modules WHERE id_agent_module = ?', $module_id);
|
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
|
# Delete tags asociated to the module
|
||||||
db_do ($dbh, 'DELETE FROM ttag_module WHERE id_agente_modulo = ?', $module_id);
|
db_do ($dbh, 'DELETE FROM ttag_module WHERE id_agente_modulo = ?', $module_id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user