From: hickert Date: Wed, 26 May 2010 07:52:04 +0000 (+0000) Subject: Added requirement dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=95d65d55a5c39339eecb725c9ce29e4578602e31;p=gosa.git Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18711 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc index 26f9e577a..e8922a8cc 100644 --- a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc +++ b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc @@ -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")),