From c65b492911b733f101dd8d8c9ebefe910b4c143f Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 8 Jun 2009 17:49:15 +0000 Subject: [PATCH] Monotone-Parent: c7aea7b2351a955db68e7542d35a342ce24a3bfd Monotone-Revision: 9dc1c127f410eb6a2bcfa8e50929a9ab77e8c255 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-08T17:49:15 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolder.m | 1 - SoObjects/SOGo/SOGoGCSFolder.m | 12 +++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 1e54a720d..c77dbfefc 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -39,7 +39,6 @@ #import #import #import -#import #import #import #import diff --git a/SoObjects/SOGo/SOGoGCSFolder.m b/SoObjects/SOGo/SOGoGCSFolder.m index 68a8bab55..62ff946c2 100644 --- a/SoObjects/SOGo/SOGoGCSFolder.m +++ b/SoObjects/SOGo/SOGoGCSFolder.m @@ -41,7 +41,9 @@ #import #import #import +#import #import +#import #import #import #import @@ -615,18 +617,18 @@ static NSArray *childRecordFields = nil; { NSArray *records; GCSFolder *folder; - static EOFetchSpecification *cTagSpec = nil; + EOFetchSpecification *cTagSpec; EOSortOrdering *ordering; NSNumber *lastModified; NSString *cTag; folder = [self ocsFolder]; ordering = [EOSortOrdering sortOrderingWithKey: @"c_lastmodified" - selector: EOCompareDescending]; + selector: EOCompareDescending]; cTagSpec = [EOFetchSpecification - fetchSpecificationWithEntityName: [folder folderName] - qualifier: nil - sortOrderings: [NSArray arrayWithObject: ordering]]; + fetchSpecificationWithEntityName: [folder folderName] + qualifier: nil + sortOrderings: [NSArray arrayWithObject: ordering]]; records = [folder fetchFields: [NSArray arrayWithObject: @"c_lastmodified"] fetchSpecification: cTagSpec