#12968 Disabled delete events when module is deleted.

This commit is contained in:
Daniel Cebrian 2024-03-04 12:18:21 +01:00
parent 4acb8f1efd
commit ecf2765a1c
1 changed files with 5 additions and 2 deletions

View File

@ -484,10 +484,13 @@ function modules_delete_agent_module($id_agent_module)
db_process_sql_delete('tgraph_source', $where);
db_process_sql_delete('treport_content', $where);
db_process_sql_delete(
// Disabled delete events when module is deleted.
/*
db_process_sql_delete(
'tevento',
['id_agentmodule' => $id_agent_module]
);
);
*/
$where = ['id_agente_modulo' => $id_agent_module];
db_process_sql_delete('tlayout_data', $where);
db_process_sql_delete('tagente_estado', $where);