Code

Added requirement dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:52:13 +0000 (07:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:52:13 +0000 (07:52 +0000)
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

index 5ec606818345168a2d6def6761dd93a0039596de..3f288484eadc9a8557fa75b8798aa5403ef7ee36 100644 (file)
@@ -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" =>