summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86b343c)
raw | patch | inline | side by side (parent: 86b343c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Jun 2010 15:10:49 +0000 (15:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Jun 2010 15:10:49 +0000 (15:10 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18842 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index 198d3ddea026f1a131bf152dcd9e74ced67dd9ef..7bc65e5260293730246dcd4b29c83c0014ee6417 100644 (file)
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)){