mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +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:
@@ -1,5 +1,9 @@
|
||||
2007-09-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoFreeBusyObject.m ([SOGoFreeBusyObject
|
||||
-fetchFreeBusyInfosFrom:_startDateto:_endDate]): fetch the
|
||||
freebusy info from the "personal" calendar.
|
||||
|
||||
* UI/Common/UIxParentFolderActions.m ([UIxParentFolderActions
|
||||
-createFolderAction]): new standardized method for requesting
|
||||
folder creations among gcs-based modules.
|
||||
|
||||
@@ -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