From: psc Date: Wed, 24 Jun 2009 10:35:42 +0000 (+0000) Subject: Add a configuration option allowGroupsWithSameNameInOtherSubtrees, X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a1c845a3948e6d9f3842a25252080b4f1344f409;p=gosa.git Add a configuration option allowGroupsWithSameNameInOtherSubtrees, which allows to control the object attribute allowGroupsWithSameNameInOtherSubtrees (Related to Trac #2756) git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13785 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc index 6fa967349..9740e80ec 100644 --- a/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc +++ b/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc @@ -90,6 +90,11 @@ class group extends plugin $this->orig_dn= $dn; $this->orig_cn= $this->cn; + /* Read configuration option for $this->allowGroupsWithSameNameInOtherSubtrees */ + if ($config->get_cfg_value("allowGroupsWithSameNameInOtherSubtrees") == "false") { + $this->allowGroupsWithSameNameInOtherSubtrees = FALSE; + } + /* Get member list */ if (isset($this->attrs['memberUid'][0])){ $tmp= array();