Fixed api function
Former-commit-id: 9b376941609b04ac13da551e8253d5ed5a8085dc
This commit is contained in:
parent
58289e73bc
commit
a9d3d81757
|
@ -6449,7 +6449,16 @@ function api_set_update_snmp_module_policy($id, $thrash1, $other, $thrash3) {
|
||||||
array('type' => 'string', 'data' => __('SNMP policy module updated.')));
|
array('type' => 'string', 'data' => __('SNMP policy module updated.')));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove an agent from a policy.
|
||||||
|
* @param $id Id of the policy
|
||||||
|
* @param $id2 Id of the agent policy
|
||||||
|
* @param $trash1
|
||||||
|
* @param $trash2
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* api.php?op=set&op2=remove_agent_from_policy&apipass=1234&user=admin&pass=pandora&id=11&id2=2
|
||||||
|
*/
|
||||||
function api_set_remove_agent_from_policy ($id, $id2, $thrash2, $thrash3) {
|
function api_set_remove_agent_from_policy ($id, $id2, $thrash2, $thrash3) {
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue