Code

Added requirement dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:51:48 +0000 (07:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:51:48 +0000 (07:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18705 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/devices/class_deviceGeneric.inc

index 4b21b04a58bf08fe9863498ee90692eae64ec2d3..3239adeb8fd047cc605166e192cc1209f011e162 100644 (file)
@@ -272,7 +272,10 @@ class deviceGeneric extends plugin
           "plDepends"     => array(),
           "plPriority"    => 0,
           "plSection"     => array("administration"),
-          "plRequirements"=> array('ldapSchema' => array('gotoDevice' => '>=2.7')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('gotoDevice' => '>=2.7'),
+              'onFailureDisablePlugin' => array(get_class(), 'deviceManagement')
+              ),
           "plCategory"    => array("devices" => array("description"  => _("Devices"),
                                                         "objectClass"  => "gotoDevice")),
           "plProperties" =>