SkyAppointmentDocument.m (opengroupware-5.5rc2) | : | SkyAppointmentDocument.m (opengroupware-5.5rc3) | ||
---|---|---|---|---|
skipping to change at line 385 | skipping to change at line 385 | |||
ctx = [self context]; | ctx = [self context]; | |||
dm = [ctx documentManager]; | dm = [ctx documentManager]; | |||
while ((one = [e nextObject])) { | while ((one = [e nextObject])) { | |||
one = [dm globalIDForURL:one]; | one = [dm globalIDForURL:one]; | |||
if ([[one entityName] isEqualToString:@"Person"]) | if ([[one entityName] isEqualToString:@"Person"]) | |||
[persons addObject:one]; | [persons addObject:one]; | |||
else if ([[one entityName] isEqualToString:@"Team"]) | else if ([[one entityName] isEqualToString:@"Team"]) | |||
[teams addObject:one]; | [teams addObject:one]; | |||
else { | else { | |||
NSLog(@"WARNING[%s]:Invalid id in access list", | NSLog(@"WARNING[%s]:Invalid id (%@) in access list", | |||
__PRETTY_FUNCTION__, one); | __PRETTY_FUNCTION__, one); | |||
} | } | |||
} | } | |||
self->writeAccessMembers = emptyArray; | self->writeAccessMembers = emptyArray; | |||
if ([persons count] > 0) { | if ([persons count] > 0) { | |||
id tmp; | id tmp; | |||
tmp = [ctx runCommand:@"person::get-by-globalid", | tmp = [ctx runCommand:@"person::get-by-globalid", | |||
@"gids", persons, | @"gids", persons, | |||
@"attributes", personFetchAttrNames, nil]; | @"attributes", personFetchAttrNames, nil]; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |