Code

Added schema requrements
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 May 2010 08:59:13 +0000 (08:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 May 2010 08:59:13 +0000 (08:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18649 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 708cae957abfac6ab0681650adfc318dc4cb59b0..77ed1df1d6c972b8d6ebab1acb8fc6d0a3d33c6c 100644 (file)
@@ -664,6 +664,11 @@ class department extends plugin
                   "plPriority"    => 0,
                   "plDepends"     => array(),
                   "plSection"     => array("administration"),
+                  "plRequirements"=> array(
+                      'ldapSchema' => array(
+                          'gosaDepartment' => '>=2.7'
+                          )
+                      ),
                   "plCategory"    => array("department" => array("objectClass" => "gosaDepartment", "description" => _("Departments"))),
             
                   "plProvidedAcls" => array(