index e09e6926bd4d212f112086cd148be70b8a708981..aba5e3208a3e1976722044ce7c416f4f8b51b2f1 100644 (file)
}
}
}
-
- /* Ensure that UnitTags will be kept when pasted */
- if(isset($obj->gosaUnitTag) && !empty($obj->gosaUnitTag)){
- foreach($this->current->by_object as $name => $obj){
- if(!in_array("gosaAdministrativeUnitTag",$this->current->by_object[$name]->objectclasses)){
- $this->current->by_object[$name]->objectclasses[] = "gosaAdministrativeUnitTag";
- $this->current->by_object[$name]->gosaUnitTag = $obj->gosaUnitTag;
- if(!in_array("gosaUnitTag",$this->current->by_object[$name]->attributes)){
- $this->current->by_object[$name]->attributes[] = "gosaUnitTag";
- }
- }
- }
- }
-
if($this->isCurrentObjectPastAble()){
return(true);
}else{