mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
Monotone-Parent: 7158469e2118ab9dc200e78b0beaa52690e57679
Monotone-Revision: a4dc112ad42d8b85263a723606a21cfe34e94865 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-01T22:16:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -77,7 +77,6 @@
|
||||
{
|
||||
return [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
@"read", SoPerm_AccessContentsInformation,
|
||||
@"read", SoPerm_AccessContentsInformation,
|
||||
@"bind", SoPerm_AddDocumentsImagesAndFiles,
|
||||
@"unbind", SoPerm_DeleteObjects,
|
||||
@"write-acl", SoPerm_ChangePermissions,
|
||||
@@ -418,7 +417,9 @@ static BOOL kontactGroupDAV = YES;
|
||||
container = _container;
|
||||
if ([self doesRetainContainer])
|
||||
[_container retain];
|
||||
ASSIGN (owner, [_container ownerInContext: context]);
|
||||
owner = [self ownerInContext: context];
|
||||
if (owner)
|
||||
[owner retain];
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -455,6 +456,9 @@ static BOOL kontactGroupDAV = YES;
|
||||
|
||||
- (NSString *) ownerInContext: (id) localContext
|
||||
{
|
||||
if (!owner)
|
||||
owner = [container ownerInContext: context];
|
||||
|
||||
return owner;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user