mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-03 17:39:45 +00:00
Monotone-Parent: 2657547ae0e611fd831e211fb69fd2bd09cea1e4
Monotone-Revision: 2595a3bc44656d71f249d0059114c0bb7c6ec938 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-16T16:44:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -75,21 +75,21 @@
|
||||
to: (NSCalendarDate *) _endDate
|
||||
{
|
||||
id calFolder;
|
||||
SoSecurityManager *sm;
|
||||
// SoSecurityManager *sm;
|
||||
NSArray *infos;
|
||||
|
||||
calFolder = [container lookupName: @"Calendar" inContext: nil acquire: NO];
|
||||
sm = [SoSecurityManager sharedSecurityManager];
|
||||
if (![sm validatePermission: SOGoPerm_FreeBusyLookup
|
||||
onObject: calFolder
|
||||
inContext: context])
|
||||
// sm = [SoSecurityManager sharedSecurityManager];
|
||||
// if (![sm validatePermission: SOGoPerm_FreeBusyLookup
|
||||
// onObject: calFolder
|
||||
// inContext: context])
|
||||
infos = [calFolder fetchFreeBusyInfosFrom: _startDate
|
||||
to: _endDate];
|
||||
else
|
||||
{
|
||||
infos = [NSArray new];
|
||||
[infos autorelease];
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// infos = [NSArray new];
|
||||
// [infos autorelease];
|
||||
// }
|
||||
|
||||
return infos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user