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

* include/functions_modules.php: fix the deletion of module in the function
	"delete_agent_module" for change the name to avoid the row collision. This
	change is advised by Sancho lerena.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-11-25 09:44:58 +00:00
parent 3c9c5316be
commit 8c7a1340b2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fix the deletion of module in the function
"delete_agent_module" for change the name to avoid the row collision. This
change is advised by Sancho lerena.
2009-11-25 Miguel de Dios <miguel.dedios@artica.es> 2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_io.php, include/functions.php: change and add functions * include/functions_io.php, include/functions.php: change and add functions

View File

@ -126,7 +126,7 @@ function delete_agent_module ($id_agent_module) {
process_sql_delete ('tlayout_data', $where); process_sql_delete ('tlayout_data', $where);
process_sql_delete ('tagente_estado', $where); process_sql_delete ('tagente_estado', $where);
process_sql_update ('tagente_modulo', process_sql_update ('tagente_modulo',
array ('delete_pending' => 1, 'disabled' => 1), array ('nombre' => 'delete_pending', 'delete_pending' => 1, 'disabled' => 1),
$where); $where);
return true; return true;