From 5b6aa7e29ecdce376f9576f6fa74fa49109116a2 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 21 Aug 2009 09:03:54 +0000 Subject: [PATCH] Removed unneeded code git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14101 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_filterLDAP.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gosa-core/include/class_filterLDAP.inc b/gosa-core/include/class_filterLDAP.inc index f0f8ca740..53084d28a 100644 --- a/gosa-core/include/class_filterLDAP.inc +++ b/gosa-core/include/class_filterLDAP.inc @@ -28,14 +28,12 @@ class filterLDAP { // Initialize search bases $bases= array(); - // Get list of sub bases to search on and fill dn components to search for - $components= array(); + // Get list of sub bases to search on foreach ($objectStorage as $oc) { $oc= preg_replace('/,$/', '', $oc); $tmp= split(',', $oc); if (count($tmp) == 1) { preg_match('/([^=]+)=(.*)$/', $oc, $m); - $components[]= $m[1].":dn:=".$m[2]; if ($flags & GL_SUBSEARCH) { $bases[$base][]= $m[1].":dn:=".$m[2]; } else { @@ -45,7 +43,6 @@ class filterLDAP { // No, there's no \, in pre defined RDN values preg_match('/^([^,]+),(.*)$/', $oc, $matches); preg_match('/([^=]+)=(.*)$/', $matches[1], $m); - $components[]= $m[1].":dn:=".$m[2]; if ($flags & GL_SUBSEARCH) { $bases[$base][]= $m[1].":dn:=".$m[2]; } else { -- 2.30.2