mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 17:05:10 +00:00
Monotone-Parent: c241a8e1e716fa0db3e4f4e370c051096cc2c3e2
Monotone-Revision: ef272f61d0caedee9632010cd4b3ce928a2da43e Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-01-13T16:45:13
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
- (NSString *) _freeBusyFromStartDate: (NSCalendarDate *) startDate
|
||||
toEndDate: (NSCalendarDate *) endDate
|
||||
forFreeBusy: (SOGoFreeBusyObject *) fb
|
||||
andUser: (NSString *) user
|
||||
andContact: (NSString *) uid
|
||||
{
|
||||
NSMutableArray *freeBusy;
|
||||
unsigned int *freeBusyItems;
|
||||
@@ -170,7 +170,7 @@
|
||||
|
||||
freeBusyItems = NSZoneCalloc (NULL, intervals, sizeof (int));
|
||||
[self _fillFreeBusyItems: freeBusyItems count: intervals
|
||||
withRecords: [fb fetchFreeBusyInfosFrom: startDate to: endDate forUser: user]
|
||||
withRecords: [fb fetchFreeBusyInfosFrom: startDate to: endDate forContact: uid]
|
||||
fromStartDate: startDate toEndDate: endDate];
|
||||
|
||||
freeBusy = [NSMutableArray arrayWithCapacity: intervals];
|
||||
@@ -219,7 +219,7 @@
|
||||
andString: [self _freeBusyFromStartDate: startDate
|
||||
toEndDate: endDate
|
||||
forFreeBusy: freebusy
|
||||
andUser: uid]];
|
||||
andContact: uid]];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user