mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
Monotone-Parent: 9995223a0452fd05c8a2bc29a4e75bddaa07438b
Monotone-Revision: e41f59857cafb636d38404bf829a9113c529ffd6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-17T15:19:19 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user