2010-09-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php godmode/agentes/modificar_agente.php: Added the calls to enterprise to delete an agent to all their policies when we delete it for bug 3072471 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
63a7d6730c
commit
d69c2ece08
|
@ -1,3 +1,10 @@
|
|||
2010-09-21 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_db.php
|
||||
godmode/agentes/modificar_agente.php: Added the calls
|
||||
to enterprise to delete an agent to all their policies
|
||||
when we delete it for bug 3072471
|
||||
|
||||
2010-09-21 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_html.php: fixed the width by default in the function
|
||||
|
|
|
@ -36,6 +36,8 @@ if (! give_acl ($config["id_user"], 0, "AW")) {
|
|||
exit;
|
||||
}
|
||||
|
||||
enterprise_include_once('include/functions_policies.php');
|
||||
|
||||
$search = get_parameter ("search", "");
|
||||
|
||||
if (isset ($_GET["borrar_agente"])) { // if delete agent
|
||||
|
|
|
@ -3222,6 +3222,9 @@ function delete_agent ($id_agents, $disableACL = false) {
|
|||
// Dont delete here, this records are deleted in daily script
|
||||
// temp_sql_delete ("tagent_access", "id_agent", $id_agent);
|
||||
|
||||
// Delete agent policies
|
||||
enterprise_hook('delete_agent_policies', array($id_agent));
|
||||
|
||||
// tagente_datos_inc
|
||||
// Dont delete here, this records are deleted later, in database script
|
||||
// temp_sql_delete ("tagente_datos_inc", "id_agente_modulo", $where_modules);
|
||||
|
|
Loading…
Reference in New Issue