From: cajus Date: Thu, 24 Jul 2008 16:05:48 +0000 (+0000) Subject: Migrated group management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ea1cfa258773270ac12b6ece40bafac0c7cc1b87;p=gosa.git Migrated group management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12035 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc index d251ab79f..38ff24b24 100644 --- a/gosa-core/plugins/admin/groups/class_groupManagement.inc +++ b/gosa-core/plugins/admin/groups/class_groupManagement.inc @@ -44,16 +44,13 @@ class groupManagement extends plugin $this->ui = &$ui; /* Copy & Paste enabled ?*/ - if((isset($this->config->data['MAIN']['ENABLECOPYPASTE']))&&(preg_match("/true/i",$this->config->data['MAIN']['ENABLECOPYPASTE']))){ + if($this->config->get_value("enablecopypaste") == "true"){ $this->CopyPasteHandler = new CopyPasteHandler($this->config); } /* Detect if we have to display the primary group checkbox */ $tmp = ""; - if (isset($this->config->data['MAIN']['NOPRIMARYGROUP'])){ - $tmp = $this->config->data['MAIN']['NOPRIMARYGROUP']; - } - if(preg_match("/true/i",$tmp)|| (preg_match("/yes/",$tmp))){ + if ($this->config->get_cfg_value("noprimarygroup") == "true"){ $this->ShowPrimaryCheckBox = false; } else { $this->ShowPrimaryCheckBox = true; @@ -632,7 +629,7 @@ class groupManagement extends plugin } $sfilter= ""; - if ($this->config->current['SAMBAVERSION'] == 3){ + if ($this->config->get_cfg_value("sambaversion") == 3){ if (!$ShowPrimaryGroups){ $sfilter= "(objectClass=sambaGroupMapping)"; } elseif ($ShowSambaGroups){