Mute some license checks while initializing enterprise component (pandora-ha)
This commit is contained in:
parent
2495611249
commit
735df105d3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue