Code

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

gosa-plugins/mail/admin/systems/services/spam/class_goSpamServer.inc

index e38aa0b57b1b34922f658532f4c91bb297f02e62..2d64ae3e56014387d36261db76df9e41e9158a95 100644 (file)
@@ -323,7 +323,10 @@ class gospamserver extends goService{
           "plPriority"    => 89,
           "plSection"     => array("administration"),
           "plCategory"    => array("server"),
-          "plRequirements"=> array('ldapSchema' => array('goSpamServer' => '>=2.7')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('goSpamServer' => '>=2.7'),
+              'onFailureDisablePlugin' => array(get_class())
+              ),
           "plProvidedAcls"=> array(
 
             "saRewriteHeader"   => _("Rewrite header"),