Code

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

gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc

index a8d9da862be61eca0b5f5192f4738284763e1bf5..5e4115545a93080c558d68015d4a1c5e19ecf328 100644 (file)
@@ -492,7 +492,10 @@ class phoneGeneric extends plugin
           "plDepends"     => array(),
           "plPriority"    => 0,
           "plSection"     => array("administration"),
-          "plRequirements"=> array('ldapSchema' => array('goFonHardware' => '>=2.7')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('goFonHardware' => '>=2.7'),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
           "plCategory"    => array("phone" => array("description"  => _("Phone hardware"),
                   "objectClass"  => "goFonHardware")),
           "plProperties" =>