Code

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

gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc

index e7e64158f0c98291d319baeca59781e0e92228e8..aabff27b0f3d12af4cacb17cc774395fb6134249 100644 (file)
@@ -433,7 +433,10 @@ class viewFaxEntries extends plugin {
         return (array(
             "plShortName"     => _("View fax reports"),
             "plDescription"   => _("View fax reports")."&nbsp;<i>"._("All entries are readonly")."</i>",
-            "plRequirements"  => array('ldapSchema' => array('goFaxAccount' => '>=1.0.4')),
+            "plRequirements"=> array(
+                'ldapSchema' => array('goFaxAccount' => '>=2.7'),
+                'onFailureDisablePlugin' => array(get_class(),'gofaxAccount','goFaxServer')
+                ),
             "plSelfModify"    => TRUE,
             "plDepends"       => array(),
             "plPriority"      => 89,                                 // Position in tabs