You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if defined($caller_module_name) and $module_name != $caller_module_name and $caller_module_name != '' {
fail("icinga2::feature is a private define resource of the module icinga2, you're not permitted to use it.")
}
should be
if !defined(...) or $module_name != ...
to prevent a call from outside any class and from other modules.
The text was updated successfully, but these errors were encountered:
if defined($caller_module_name) and $module_name != $caller_module_name and $caller_module_name != '' {
fail("icinga2::feature is a private define resource of the module icinga2, you're not permitted to use it.")
}
should be
if !defined(...) or $module_name != ...
to prevent a call from outside any class and from other modules.
The text was updated successfully, but these errors were encountered: