Code

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

gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc

index 26f9e577ae30cc5639f9d45ab00e1fff7572f760..e8922a8cc81f5cd3865d3584d342773ff5bc3a93 100644 (file)
@@ -442,7 +442,10 @@ class roleGeneric extends plugin {
                   "plDepends"     => array(),
                   "plPriority"    => 1,
                   "plSection"     => array("administration"),
-                  "plRequirements"=> array('ldapSchema' => array('gosaRole' => '>=2.7')),
+                  "plRequirements"=> array(
+                      'ldapSchema' => array('gosaRole' => '>=2.7'),
+                      'onFailureDisablePlugin' => array(get_class(), 'roleManagement')
+                      ),
                   "plCategory"    => array("roles" => array("description"  => _("Roles"),
                           "objectClass"  => "organizationalRole")),