Code

Added requirement dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:52:15 +0000 (07:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:52:15 +0000 (07:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18715 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc

index 50373a600cf84027777d70623c9546342159e863..d650dcb1ef69177a59ed93b45c1caf0db275082e 100644 (file)
@@ -675,7 +675,10 @@ class termgeneric extends plugin
           "plDepends"     => array(),
           "plPriority"    => 1,
           "plSection"     => array("administration"),
-          "plRequirements"=> array('ldapSchema' => array('gotoTerminal' => '>=2.7')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('gotoTerminal' => '>=2.7'),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
           "plCategory"    => array("terminal" => array( "description"  => _("Terminal"),
                   "objectClass"  => "gotoTerminal")),
           "plProperties" =>