Monotone-Parent: 39a12d6ba6be4513ed7ad704d541c95afc4a2d1d

Monotone-Revision: 689d3d08796f0dfac036230102b579346decb74a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-14T22:49:49
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-09-14 22:49:49 +00:00
parent a7bc9f9f40
commit 4170078c0b
2 changed files with 11 additions and 4 deletions
+7 -4
View File
@@ -35,6 +35,8 @@
#import <SOGo/SOGoUser.h>
#import <SOGo/SOGoPermissions.h>
#import "SOGoAppointmentFolder.h"
#import "SOGoFreeBusyObject.h"
@interface SOGoFreeBusyObject (PrivateAPI)
@@ -80,17 +82,18 @@
- (NSArray *) fetchFreeBusyInfosFrom: (NSCalendarDate *) _startDate
to: (NSCalendarDate *) _endDate
{
id calFolder;
SOGoAppointmentFolder *calFolder;
// SoSecurityManager *sm;
NSArray *infos;
calFolder = [container lookupName: @"Calendar" inContext: nil acquire: NO];
calFolder = [[container lookupName: @"Calendar" inContext: nil acquire: NO]
lookupName: @"personal" inContext: nil acquire: NO];
// sm = [SoSecurityManager sharedSecurityManager];
// if (![sm validatePermission: SOGoPerm_FreeBusyLookup
// onObject: calFolder
// inContext: context])
infos = [calFolder fetchFreeBusyInfosFrom: _startDate
to: _endDate];
infos = [calFolder fetchFreeBusyInfosFrom: _startDate
to: _endDate];
// else
// {
// infos = [NSArray new];