mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-01 03:22:43 +00:00
Monotone-Parent: 0d6d08f519f87a48faf11bb5cac050269622c10c
Monotone-Revision: 5f26d4e575d6317b2bf8811e502af472aa607ac4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-12-19T17:02:33 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -134,11 +134,7 @@
|
||||
context = [[WOApplication application] context];
|
||||
securityManager = [SoSecurityManager sharedSecurityManager];
|
||||
|
||||
if ((folders = [[self container] valueForKey:@"memberFolders"]) == nil) {
|
||||
[self errorWithFormat:@"calendar container has no 'memberFolders'?!"];
|
||||
return nil;
|
||||
}
|
||||
|
||||
folders = [[self container] memberFolders];
|
||||
[self resetFolderCaches];
|
||||
|
||||
if ((count = [folders count]) == 0)
|
||||
@@ -165,8 +161,8 @@
|
||||
}
|
||||
|
||||
if ([securityManager validatePermission: SoPerm_AccessContentsInformation
|
||||
onObject: aptFolder
|
||||
inContext: context]) {
|
||||
onObject: aptFolder
|
||||
inContext: context]) {
|
||||
[self debugWithFormat:@"no permission to read the content of calendar: %@",
|
||||
[folders objectAtIndex:i]];
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user