mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-13 15:35:30 +00:00
Monotone-Parent: 07ab3efb7fca7b90bb3250e66fef539e6ccac57c
Monotone-Revision: 54132d0330da7594524fccc55a8da72e25c9d592 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-01-21T20:21:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
2009-01-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
([SOGoAppointmentFolder -fixupRecord:_record]): removed the unused
|
||||
isAllDay local variable.
|
||||
([SOGoAppointmentFolder -fixupRecords:records]): removed the
|
||||
unused "fetchRange:" argument.
|
||||
|
||||
* SoObjects/SOGo/SOGoGCSFolder.m ([SOGoGCSFolder
|
||||
+folderWithSubscriptionReference:referenceinContainer:aContainer]):
|
||||
same as below.
|
||||
|
||||
@@ -557,9 +557,6 @@ static Class sogoAppointmentFolderKlass = Nil;
|
||||
unsigned int count;
|
||||
NSCalendarDate *date;
|
||||
NSNumber *dateValue;
|
||||
BOOL isAllDay;
|
||||
|
||||
isAllDay = [[_record objectForKey: @"c_isallday"] boolValue];
|
||||
|
||||
md = [[_record mutableCopy] autorelease];
|
||||
for (count = 0; count < 2; count++)
|
||||
@@ -582,7 +579,6 @@ static Class sogoAppointmentFolderKlass = Nil;
|
||||
}
|
||||
|
||||
- (NSArray *) fixupRecords: (NSArray *) records
|
||||
fetchRange: (NGCalendarDateRange *) r
|
||||
{
|
||||
// TODO: is the result supposed to be sorted by date?
|
||||
NSMutableArray *ma;
|
||||
@@ -1003,7 +999,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
if (records)
|
||||
{
|
||||
if (r)
|
||||
records = [self fixupRecords: records fetchRange: r];
|
||||
records = [self fixupRecords: records];
|
||||
if (logger)
|
||||
[self debugWithFormat: @"fetched %i records: %@",
|
||||
[records count], records];
|
||||
|
||||
Reference in New Issue
Block a user