From 342a11a632aa24c9e04241fc861847d80d032870 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:52:13 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18714 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" => -- 2.30.2