Monotone-Parent: 9995223a0452fd05c8a2bc29a4e75bddaa07438b

Monotone-Revision: e41f59857cafb636d38404bf829a9113c529ffd6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-17T15:19:19
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-06-17 15:19:19 +00:00
parent b37c58e765
commit 1db7523e11
1 changed files with 3 additions and 6 deletions

View File

@ -544,7 +544,7 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
NSDictionary *currentGrant, *userHREF;
NSString *principalURL;
currentAce = [NSMutableArray new];
currentAce = [NSMutableArray array];
roles = [[SOGoUser userWithLogin: currentUID roles: nil]
rolesForObject: self
inContext: context];
@ -562,7 +562,6 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
[currentAce addObject: currentGrant];
[aces addObject: davElementWithContent (@"ace", @"DAV:", currentAce)];
}
[currentAce release];
}
- (void) _fillAcesWithRolesForPseudoPrincipals: (NSMutableArray *) aces
@ -644,7 +643,7 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
NSMutableArray *responses;
NSArray *responseElements;
responses = [NSMutableArray new];
responses = [NSMutableArray array];
hrefList = [hrefs objectEnumerator];
while ((currentHref = [hrefList nextObject]))
@ -660,7 +659,6 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
}
multiStatus = davElementWithContent (@"multistatus", @"DAV:", responses);
[responses release];
return multiStatus;
}
@ -697,11 +695,10 @@ SEL SOGoSelectorForPropertySetter (NSString *property)
NSMutableArray *hrefs;
NSDictionary *response;
hrefs = [NSMutableArray new];
hrefs = [NSMutableArray array];
[self _fillArrayWithPrincipalsOwnedBySelf: hrefs];
response = [self _formalizePrincipalMatchResponse: hrefs];
[hrefs release];
return response;
}