Code

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

gosa-core/plugins/admin/departments/class_department.inc

index 77ed1df1d6c972b8d6ebab1acb8fc6d0a3d33c6c..4b37f223bd0d3963fb549678eb7a466ec7f78941 100644 (file)
@@ -665,10 +665,11 @@ class department extends plugin
                   "plDepends"     => array(),
                   "plSection"     => array("administration"),
                   "plRequirements"=> array(
-                      'ldapSchema' => array(
-                          'gosaDepartment' => '>=2.7'
-                          )
+                      'ldapSchema' => array('gosaDepartment' => '>=2.7'),
+                      'onFailureDisablePlugin' => array(get_class(),'departmentManagement',
+                          'country','dcObject','domain','locality','organization')
                       ),
+    
                   "plCategory"    => array("department" => array("objectClass" => "gosaDepartment", "description" => _("Departments"))),
             
                   "plProvidedAcls" => array(