From: hickert Date: Mon, 10 May 2010 13:32:42 +0000 (+0000) Subject: Updated get_ou it receives values from the config registry now. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b13d2e7b25216101ca07003bf7139d63fec0b9c7;p=gosa.git Updated get_ou it receives values from the config registry now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18265 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index 35151da1e..f866993ac 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -38,7 +38,7 @@ class aclManagement extends management $this->config = $config; $this->ui = $ui; - $this->storagePoints = array(get_ou("aclRoleRDN")); // ACLs are attached to department containers + $this->storagePoints = array(get_ou("aclrole", "aclRoleRDN") ); // ACLs are attached to department containers // Build filter if (session::global_is_set(get_class($this)."_filter")){ diff --git a/gosa-core/plugins/admin/acl/tabs_acl_role.inc b/gosa-core/plugins/admin/acl/tabs_acl_role.inc index 28be23385..c818b6697 100644 --- a/gosa-core/plugins/admin/acl/tabs_acl_role.inc +++ b/gosa-core/plugins/admin/acl/tabs_acl_role.inc @@ -35,7 +35,7 @@ class aclroletab extends tabs /* Check for new 'dn', in order to propagate the 'dn' to all plugins */ - $new_dn= 'cn='.$baseobject->cn.",".get_ou('aclRoleRDN').$baseobject->base; + $new_dn= 'cn='.$baseobject->cn.",".get_ou("aclrole", "aclRoleRDN") .$baseobject->base; if ($this->dn != $new_dn){