From: hickert Date: Wed, 26 May 2010 07:51:48 +0000 (+0000) Subject: Added requirement dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=11b2090d5022b63eef73b71f7eceea0c0d47abea;p=gosa.git Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18705 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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" =>