mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 09:53:23 +00:00
See ChangeLog
Monotone-Parent: 1fc6240dbb88ca9e470be6d2679ee8e3e10e4f4f Monotone-Revision: b9443420fc607bc2c0d8c6a5cff48fda3c68f7e6 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-11-26T16:26:32 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -855,6 +855,7 @@ static NSArray *childRecordFields = nil;
|
||||
|
||||
folder = [self ocsFolder];
|
||||
channel = [folder acquireAclChannel];
|
||||
[[channel adaptorContext] beginTransaction];
|
||||
userRoles = [roles objectEnumerator];
|
||||
while ((currentRole = [userRoles nextObject]))
|
||||
{
|
||||
@@ -863,9 +864,10 @@ static NSArray *childRecordFields = nil;
|
||||
@" VALUES ('/%@', '%@', '%@')",
|
||||
[folder aclTableName],
|
||||
objectPath, uid, currentRole];
|
||||
[channel evaluateExpressionX: SQL];
|
||||
[channel evaluateExpressionX: SQL];
|
||||
}
|
||||
|
||||
[[channel adaptorContext] commitTransaction];
|
||||
[folder releaseChannel: channel];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user