From: hickert Date: Wed, 2 Jun 2010 15:10:49 +0000 (+0000) Subject: Updated function.inc -> update_accessTo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba0863f3589e8e5792f9df682a463425551829aa;p=gosa.git Updated function.inc -> update_accessTo -We do not need to rewrite the list of objectClass here. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18842 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 198d3ddea..7bc65e526 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -3262,9 +3262,6 @@ function update_accessTo($from,$to) while($attrs = $ldap->fetch()){ $new_attrs = array("accessTo" => array()); $dn = $attrs['dn']; - for($i = 0 ; $i < $attrs['objectClass']['count']; $i++){ - $new_attrs['objectClass'][] = $attrs['objectClass'][$i]; - } for($i = 0 ; $i < $attrs['accessTo']['count']; $i++){ if($attrs['accessTo'][$i] == $from){ if(!empty($to)){