From ed5d95b408a72d2df60ae38d1080f8a1acda8689 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 19 Dec 2006 17:02:33 +0000 Subject: [PATCH] Monotone-Parent: 0d6d08f519f87a48faf11bb5cac050269622c10c Monotone-Revision: 5f26d4e575d6317b2bf8811e502af472aa607ac4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-12-19T17:02:33 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoGroupAppointmentFolder.m | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/SoObjects/Appointments/SOGoGroupAppointmentFolder.m b/SoObjects/Appointments/SOGoGroupAppointmentFolder.m index 77c620851..0295de503 100644 --- a/SoObjects/Appointments/SOGoGroupAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoGroupAppointmentFolder.m @@ -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;