From 11b2090d5022b63eef73b71f7eceea0c0d47abea Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:51:48 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18705 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/devices/class_deviceGeneric.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc index 4b21b04a5..3239adeb8 100644 --- a/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc +++ b/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc @@ -272,7 +272,10 @@ class deviceGeneric extends plugin "plDepends" => array(), "plPriority" => 0, "plSection" => array("administration"), - "plRequirements"=> array('ldapSchema' => array('gotoDevice' => '>=2.7')), + "plRequirements"=> array( + 'ldapSchema' => array('gotoDevice' => '>=2.7'), + 'onFailureDisablePlugin' => array(get_class(), 'deviceManagement') + ), "plCategory" => array("devices" => array("description" => _("Devices"), "objectClass" => "gotoDevice")), "plProperties" => -- 2.30.2