Merge branch 'ent-8694-sorpresa-en-fenix-con-autoaplicacion-de-politicas-de-grupo-v760' into 'develop'
Fix groups linked to non-existent policies See merge request artica/pandorafms!4769
This commit is contained in:
commit
c6b1fd858a
|
@ -246,6 +246,9 @@ sub pandora_purgedb ($$) {
|
||||||
log_message ('PURGE', 'trap_purge is set to 0. Old SNMP traps will not be deleted.');
|
log_message ('PURGE', 'trap_purge is set to 0. Old SNMP traps will not be deleted.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Cleanup policy groups pointing to non-existing policies.
|
||||||
|
enterprise_hook('pandora_policy_group_cleanup', [$dbh]);
|
||||||
|
|
||||||
# Delete policy queue data
|
# Delete policy queue data
|
||||||
enterprise_hook("pandora_purge_policy_queue", [$dbh, $conf]);
|
enterprise_hook("pandora_purge_policy_queue", [$dbh, $conf]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue