From 40dba621720af5f8fa422812b86007860156226c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 25 Feb 2010 08:26:11 +0000 Subject: [PATCH] Added lasted plugin.inc patch git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@15705 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index e75ced181..b28e8b133 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -999,13 +999,14 @@ class plugin } // Migrate objectgroups if needed - $ogroups = get_sub_list("(&(objectClass=gosaGroupOfNames)(member=".LDAP::prepare4filter(LDAP::fix($src_dn))."))","ogroups", array(get_ou("ogroupRDN")),$this->config->current['BASE'],array("dn"), GL_SUBSEARCH | GL_NO_ACL_CHECK); + $ogroups = get_sub_list("(&(objectClass=gosaGroupOfNames)(member=".LDAP::prepare4filter(LDAP::fix($src_dn))."))", + "ogroups", array(get_ou("ogroupRDN")),$this->config->current['BASE'],array("dn"), GL_SUBSEARCH | GL_NO_ACL_CHECK); // Walk through all objectGroups foreach($ogroups as $ogroup){ // Migrate old to new dn $o_ogroup= new ogroup($this->config,$ogroup['dn']); - if (isset($o_group->member[$src_dn])) { + if (isset($o_ogroup->member[$src_dn])) { unset($o_ogroup->member[$src_dn]); } $o_ogroup->member[$dst_dn]= $dst_dn; -- 2.30.2