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:
commit
20599871a1
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue