]> granicus.if.org Git - icinga2/commitdiff
Don't explicitly load libmethods in libicinga.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Nov 2013 07:29:22 +0000 (08:29 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Nov 2013 07:34:34 +0000 (08:34 +0100)
Refs #4995

itl/command.conf
lib/icinga/icingaapplication.cpp

index e7a7937b1d46fa2f4dc0adf12b11e1f1044caddb..12e87641390f27e9f2026a77e0fcdcf27262efdc 100644 (file)
@@ -17,6 +17,8 @@
  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.             *
  ******************************************************************************/
 
+library "methods"
+
 template CheckCommand "plugin-check-command" {
        methods = {
                execute = "PluginCheck"
index eadcfc5ede560becd96ccb70a63b9b5081c840da..f8e567515f98c5ac990b4967de0c984c52124957 100644 (file)
@@ -38,8 +38,6 @@ INITIALIZE_ONCE(IcingaApplication, &IcingaApplication::StaticInitialize);
 
 void IcingaApplication::StaticInitialize(void)
 {
-       (void) Utility::LoadExtensionLibrary("methods");
-
        ScriptVariable::Set("IcingaEnableNotifications", true);
        ScriptVariable::Set("IcingaEnableEventHandlers", true);
        ScriptVariable::Set("IcingaEnableFlapping", true);