Merge branch '711-agent-name-en-lugar-de-alias' into 'develop'

Remove quotation marks in agent deletion

See merge request !501
This commit is contained in:
vgilc 2017-05-24 09:26:18 +02:00
commit 20599871a1
1 changed files with 2 additions and 2 deletions

View File

@ -1959,7 +1959,7 @@ function agents_delete_agent ($id_agents, $disableACL = false) {
if ($error) {
db_pandora_audit( "Agent management",
"Error: Deleted agent '$agent_alias', the error is in the delete conf or md5.");
"Error: Deleted agent $agent_alias, the error is in the delete conf or md5.");
}
}
}
@ -1971,7 +1971,7 @@ function agents_delete_agent ($id_agents, $disableACL = false) {
db_process_sql ("delete from ttag_module where id_agente_modulo in (select id_agente_modulo from tagente_modulo where id_agente = ".$id_agent.")");
db_pandora_audit( "Agent management",
"Deleted agent '$agent_alias'");
"Deleted agent $agent_alias");
// Delete the agent from the metaconsole cache
enterprise_include_once('include/functions_agents.php');