2012-04-12 Sergio Martin <sergio.martin@artica.es>

* include/functions_agents.php: Fixed pendigdelete
	rename of the modules when the agent is erased for
	bug 3509327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-04-12 09:08:08 +00:00
parent 85cfe1aa1b
commit feda0edaa2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-04-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed pendigdelete
rename of the modules when the agent is erased for
bug 3509327
2012-04-11 Sergio Martin <sergio.martin@artica.es>
* operation/events/sound_events.php: Fixed bad name in

View File

@ -1752,7 +1752,7 @@ function agents_delete_agent ($id_agents, $disableACL = false) {
// db_process_delete_temp ("tagente_modulo", "id_agente", $id_agent);
db_process_sql_update ('tagente_modulo',
array ('delete_pending' => 1, 'disabled' => 1),
array ('delete_pending' => 1, 'disabled' => 1, 'nombre' => 'pendingdelete'),
'id_agente = '. $id_agent);
// Access entries