From: hickert Date: Wed, 26 May 2010 07:52:13 +0000 (+0000) Subject: Added requirement dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=342a11a632aa24c9e04241fc861847d80d032870;p=gosa.git Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18714 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 5ec606818..3f288484e 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -997,7 +997,10 @@ class printgeneric extends plugin "plDepends" => array(), "plPriority" => 4, "plSection" => array("administration"), - "plRequirements"=> array('ldapSchema' => array('gotoPrinter' => '>=2.7')), + "plRequirements"=> array( + 'ldapSchema' => array('gotoPrinter' => '>=2.7'), + 'onFailureDisablePlugin' => array(get_class()) + ), "plCategory" => array("printer" => array("description" => _("Printer"), "objectClass" => "gotoPrinter"),"workstation","terminal"), "plProperties" =>