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