Code

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

gosa-core/plugins/admin/ogroups/class_ogroup.inc

index 99ddbf42f5fcfa83fff22768b40b3cdfa71e328f..66a8d79e873925b9d7722879bd106146406811af 100644 (file)
@@ -823,7 +823,10 @@ class ogroup extends plugin
           "plDepends"     => array(),
           "plPriority"    => 1,
           "plSection"     => array("administration"),
-          "plRequirements"=> array('ldapSchema' => array('gosaGroupOfNames' => '>=2.7')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('gosaGroupOfNames' => '>=2.7'),
+              'onFailureDisablePlugin' => array(get_class(), 'ogroupManagement')
+              ),
           "plCategory"    => array("ogroups" => array("description"  => _("Object groups"),
                                                       "objectClass"  => "gosaGroupOfNames")),
           "plProvidedAcls"=> array(