mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Remove quotation marks in agent deletion
This commit is contained in:
parent
6f6eac640b
commit
e1b867069b
@ -1959,7 +1959,7 @@ function agents_delete_agent ($id_agents, $disableACL = false) {
|
|||||||
|
|
||||||
if ($error) {
|
if ($error) {
|
||||||
db_pandora_audit( "Agent management",
|
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_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",
|
db_pandora_audit( "Agent management",
|
||||||
"Deleted agent '$agent_alias'");
|
"Deleted agent $agent_alias");
|
||||||
|
|
||||||
// Delete the agent from the metaconsole cache
|
// Delete the agent from the metaconsole cache
|
||||||
enterprise_include_once('include/functions_agents.php');
|
enterprise_include_once('include/functions_agents.php');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user