Mute some license checks while initializing enterprise component (pandora-ha)

This commit is contained in:
fbsanchez 2021-05-05 12:40:56 +02:00
parent 2495611249
commit 735df105d3
1 changed files with 3 additions and 2 deletions

View File

@ -914,8 +914,9 @@ sub float_equal {
# Tries to load the PandoraEnterprise module. Must be called once before
# enterprise_hook ().
################################################################################
sub enterprise_load ($) {
sub enterprise_load ($;$) {
my $pa_config = shift;
my $muted = shift;
# Check dependencies
@ -943,7 +944,7 @@ sub enterprise_load ($) {
}
# Initialize the enterprise module.
PandoraFMS::Enterprise::init($pa_config);
PandoraFMS::Enterprise::init($pa_config, $muted);
return 1;
}