2012-06-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_agente.php: Lost lines from my last commit. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
4a8e9bbbda
commit
ff67a91b76
|
@ -1,3 +1,8 @@
|
|||
2012-06-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* operation/agentes/estado_agente.php: Lost lines from my last
|
||||
commit.
|
||||
|
||||
2012-06-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* operation/agentes/estado_agente.php: Improved user feedback when
|
||||
|
|
|
@ -117,6 +117,12 @@ if (!empty($agent_to_delete)) {
|
|||
if (check_acl ($config["id_user"], $id_grupo, "AW")==1) {
|
||||
$id_agentes[0] = $id_agente;
|
||||
$result = agents_delete_agent($id_agentes);
|
||||
|
||||
if ($result != false)
|
||||
$result_delete = true;
|
||||
else
|
||||
$result_delete = false;
|
||||
|
||||
db_pandora_audit("Agent management", "Delete Agent " . $agent_name);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue