From 1c9f89238c30c002032a377f91e8619e658106aa Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:51:45 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18704 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/departments/class_department.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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( -- 2.30.2