Code

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

gosa-plugins/gofax/gofax/faxaccount/class_gofaxAccount.inc

index a407a42d94f0ef62dbe61f53c588e8f164f7f5a2..e4dff7992b660db0c178e2d22e0d7cb0c026b833 100644 (file)
@@ -816,7 +816,10 @@ class gofaxAccount extends plugin
           "plPriority"      => 6,             
           "plSection"       => "personal",  
           "plCategory"      => array("users"),
-          "plRequirements"=> array('ldapSchema' => array('goFaxAccount' => '>=1.0.4')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('goFaxAccount' => '>=1.0.4'),
+              'onFailureDisablePlugin' => array(get_class(),'gofaxAccount','goFaxServer')
+              ),
           "plOptions"       => array(),
 
           "plProvidedAcls"  => array(