From 25ccac31510a1a0f854b29e58bf5cdd380f6c804 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:51:55 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18707 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../groups/apps/class_groupApplication.inc | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc index a6088185f..00bf09d3a 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -1373,20 +1373,23 @@ class appgroup extends plugin */ static function plInfo() { - return (array( - "plShortName" => _("Applications"), - "plDescription" => _("Group applications"), - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 7, - "plSection" => array("administration"), - "plCategory" => array("groups"), - "plProvidedAcls"=> array( - "plRequirements"=> array('ldapSchema' => array('gotoSubmenuEntry'=>'>=2.7','gotoMenuEntry' => '>=2.7')), - "gosaMemberApplication" => _("Application"), - "FAIrelease" => _("Release"), - "gosaApplicationParameter" => _("Application parameter")) - )); + return (array( + "plShortName" => _("Applications"), + "plDescription" => _("Group applications"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 7, + "plSection" => array("administration"), + "plCategory" => array("groups"), + "plRequirements"=> array( + 'ldapSchema' => array('gotoSubmenuEntry'=>'>=2.7','gotoMenuEntry' => '>=2.7'), + 'onFailureDisablePlugin' => array(get_class()) + ), + "plProvidedAcls"=> array( + "gosaMemberApplication" => _("Application"), + "FAIrelease" => _("Release"), + "gosaApplicationParameter" => _("Application parameter")) + )); } -- 2.30.2