From 7a2768d9a8b9e7d32167420bc79848fb2dd730b8 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 23 Nov 2010 09:45:21 +0000 Subject: [PATCH] Removed unused code from class ldap. -There is no parameter attributes anymore git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20338 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_ldap.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index 65997ffc3..5bd013a85 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -956,8 +956,6 @@ class LDAP */ function generateLdif ($dn, $filter= "(objectClass=*)", $scope = 'sub', $limit=0) { - $attrs = (count($attributes))?implode($attributes,' '):''; - // Ensure that limit is numeric if not skip here. if(!empty($limit) && !is_numeric($limit)){ trigger_error(sprintf("Invalid parameter for limit '%s', a numeric value is required."), $limit); -- 2.30.2