Code

Added property class to get_cfg_requests
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:04:04 +0000 (10:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:04:04 +0000 (10:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18115 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc
gosa-core/plugins/admin/ogroups/tabs_ogroups.inc

index 800d36ba4a954bc640eb2fae76cd3d33786059d7..aac4273384de55f1f6f65d2c0ae3af7c0b20a9a9 100644 (file)
@@ -58,7 +58,7 @@ class ogroupManagement extends management
     if ($this->config->boolValueIsTrue("main", "copyPaste")){
       $this->cpHandler = new CopyPasteHandler($this->config);
     }
-    if($this->config->get_cfg_value("enableSnapshots") == "true"){
+    if($this->config->get_cfg_value("core","enableSnapshots") == "true"){
       $this->snapHandler = new SnapshotHandler($this->config);
     }
     parent::__construct($config, $ui, "ogroups", $headpage);
index b170ead500c3374936f481c4512ec54a8f894ec5..f7846ba3712157a700ac5057180e8598ef407352 100644 (file)
@@ -146,7 +146,7 @@ class ogrouptabs extends tabs
         /* Add mail group tab , if there is curerntly no mail tab defined */ 
         if(class_available("mailogroup")){
             if((preg_match("/U/",$objects))&&(!isset($this->by_object['mailogroup']))){
-                if ($this->config->get_cfg_value("mailmethod") == "kolab"){
+                if ($this->config->get_cfg_value("core","mailmethod") == "kolab"){
                     $this->by_name['mailogroup']= _("Mail");
                     $this->by_object['mailogroup']= new mailogroup($this->config, $this->dn);
                     $this->by_object['mailogroup']->parent= &$this;