mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#10136 fixed update agent from node for metaconsole
This commit is contained in:
parent
0722503253
commit
91df54596d
@ -3504,6 +3504,8 @@ sub cli_agent_update() {
|
|||||||
} else {
|
} else {
|
||||||
pandora_update_table_from_hash ($conf, $update, 'id_agente', safe_input($id_agent), 'tagente', $dbh);
|
pandora_update_table_from_hash ($conf, $update, 'id_agente', safe_input($id_agent), 'tagente', $dbh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enterprise_hook('update_agent_cache', [$conf, $dbh, $id_agent]) if ($conf->{'node_metaconsole'} == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user