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:
Wolfgang Sourdeau
2009-01-21 20:21:10 +00:00
parent 3567a3f6d5
commit 2f3b49f250
2 changed files with 7 additions and 5 deletions
+6
View File
@@ -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];