[icinga-checkins] icinga.org: icingaweb2-module-director/fiddle/mfrosch-2: WIP: IcingaObjectGroup: Disable imports feature

git at icinga.org git at icinga.org
Fri Jul 22 12:03:49 CEST 2016


Module: icingaweb2-module-director
Branch: fiddle/mfrosch-2
Commit: 46b688e70cf88bdc800cb8ae335271947e43b94c
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=46b688e70cf88bdc800cb8ae335271947e43b94c

Author: Markus Frosch <lazyfrosch at icinga.org>
Date:   Thu Jun  9 10:37:52 2016 +0200

WIP: IcingaObjectGroup: Disable imports feature

Since we don't use it currently

---

 library/Director/Objects/IcingaObjectGroup.php |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/library/Director/Objects/IcingaObjectGroup.php b/library/Director/Objects/IcingaObjectGroup.php
index 1fafe2d..9f00187 100644
--- a/library/Director/Objects/IcingaObjectGroup.php
+++ b/library/Director/Objects/IcingaObjectGroup.php
@@ -6,7 +6,8 @@ use Icinga\Module\Director\IcingaConfig\IcingaConfig;
 
 abstract class IcingaObjectGroup extends IcingaObject
 {
-    protected $supportsImports = true;
+    // TODO: re-enable when used
+    protected $supportsImports = false;
 
     protected $defaultProperties = array(
         'id'                    => null,
@@ -53,7 +54,7 @@ abstract class IcingaObjectGroup extends IcingaObject
 
     /**
      * No extra object types
-     * 
+     *
      * @return string
      */
     protected function getObjectTypeName()



More information about the icinga-checkins mailing list