2009-11-30 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/configurar_agente.php: delete the simple alerts
	asociated to deleted module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-11-30 11:43:59 +00:00
parent 191d5dafef
commit 4533b0357f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-11-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: delete the simple alerts
asociated to deleted module.
2009-11-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fix now don't show alerts with

View File

@ -592,6 +592,9 @@ if (isset ($_GET["delete_module"])){ // DELETE agent module !
if (process_sql ("DELETE FROM tagente_datos_inc WHERE id_agente_modulo = ".$id_borrar_modulo) === false)
$error++;
if (process_sql ("DELETE FROM talert_template_modules WHERE id_agent_module = ".$id_borrar_modulo) === false)
$error++;
//Check for errors