From: hickert Date: Tue, 23 Nov 2010 09:45:21 +0000 (+0000) Subject: Removed unused code from class ldap. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7a2768d9a8b9e7d32167420bc79848fb2dd730b8;p=gosa.git 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 --- 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);