mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user