Code

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

gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc

index d9bb2391f7fd8e51715e6ae99c268502bc5cf5c3..ded4f54942034635a007d4343f9b1a9a96664ae8 100644 (file)
@@ -374,7 +374,10 @@ class blocklistGeneric extends plugin
                   "plDescription"     => _("Fax blocklists"),
                   "plSelfModify"      => FALSE,
                   "plDepends"         => array(),
-                  "plRequirements"=> array('ldapSchema' => array('goFaxRBlock' => '>=1.0.4','goFaxSBlock' => '>=1.0.4')),
+                  "plRequirements"=> array(
+                      'ldapSchema' => array('goFaxRBlock' => '>=1.0.4','goFaxSBlock' => '>=1.0.4'),
+                      'onFailureDisablePlugin' => array(get_class(),'blocklist')
+                      ),
                   "plPriority"    => 0,
                   "plSection"     => array("administration" => _("Fax blocklists")),
                   "plCategory"    => array("gofaxlist"      => array("description" => _("Fax blocklists"),