Code

Added schemata requirements to fax plugins
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 May 2010 14:50:10 +0000 (14:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 May 2010 14:50:10 +0000 (14:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18629 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc
gosa-plugins/gofax/gofax/faxaccount/class_gofaxAccount.inc
gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc

index cee4780c8065813bab1a38fe618b3b5e246ebd8a..a597c132c7f743cf7840a37cb2fa28d6808413f6 100644 (file)
@@ -374,7 +374,7 @@ class blocklistGeneric extends plugin
                   "plDescription"     => _("Fax blocklists"),
                   "plSelfModify"      => FALSE,
                   "plDepends"         => array(),
-
+                  "plRequirements"=> array('ldapSchema' => array('goFaxRBlock' => '>=2.7','goFaxSBlock' => '>=2.7')),
                   "plPriority"    => 0,
                   "plSection"     => array("administration" => _("Fax blocklists")),
                   "plCategory"    => array("gofaxlist"      => array("description" => _("Fax blocklists"),
index ad0336098652919ab246c0cabae32f76cf5f15f8..1f556308151601ecffcacab42ce8fae6216854a7 100644 (file)
@@ -816,6 +816,7 @@ class gofaxAccount extends plugin
           "plPriority"      => 6,             
           "plSection"       => "personal",  
           "plCategory"      => array("users"),
+          "plRequirements"=> array('ldapSchema' => array('goFaxAccount' => '>=2.7')),
           "plOptions"       => array(),
 
           "plProvidedAcls"  => array(
index 475f65c84bf0e46918bf3f1cded76b420656d3ff..1048191bf5f13e95b75ad4016b6d0d810774edf4 100644 (file)
@@ -433,6 +433,7 @@ 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' => '>=2.7')),
             "plSelfModify"    => TRUE,
             "plDepends"       => array(),
             "plPriority"      => 89,                                 // Position in tabs