mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
bulk operations agents in meta #8290
This commit is contained in:
parent
f19a823622
commit
de77ee20c6
@ -77,6 +77,11 @@ function process_manage_delete($id_agents)
|
||||
$success = $agent->delete();
|
||||
|
||||
$node->disconnect();
|
||||
|
||||
$success = agent_delete_from_metaconsole(
|
||||
$array_id[1],
|
||||
$array_id[0]
|
||||
);
|
||||
} catch (\Exception $e) {
|
||||
// Unexistent agent.
|
||||
$success = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user