mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Monotone-Parent: dd0f98cf89d78f378ec83484a40047514086bc36
Monotone-Revision: 846898c32d1bedf090b028559140bf62812511c5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-06-13T20:08:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -200,6 +200,7 @@ static NSDictionary *reportMap = nil;
|
||||
container = nil;
|
||||
owner = nil;
|
||||
webdavAclManager = [[self class] webdavAclManager];
|
||||
activeUserIsOwner = NO;
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -255,8 +256,14 @@ static NSDictionary *reportMap = nil;
|
||||
|
||||
- (NSString *) ownerInContext: (id) localContext
|
||||
{
|
||||
NSString *uid;
|
||||
|
||||
if (!owner)
|
||||
owner = [container ownerInContext: context];
|
||||
{
|
||||
owner = [container ownerInContext: context];
|
||||
uid = [[localContext activeUser] login];
|
||||
activeUserIsOwner = [owner isEqualToString: uid];
|
||||
}
|
||||
|
||||
return owner;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user