From: hickert Date: Wed, 26 May 2010 07:51:45 +0000 (+0000) Subject: Added requirement dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c9f89238c30c002032a377f91e8619e658106aa;p=gosa.git Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18704 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_department.inc b/gosa-core/plugins/admin/departments/class_department.inc index 77ed1df1d..4b37f223b 100644 --- a/gosa-core/plugins/admin/departments/class_department.inc +++ b/gosa-core/plugins/admin/departments/class_department.inc @@ -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(