mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-25 13:25:28 +00:00
Monotone-Parent: 2c486a6c83c64dafd58ffc10c2c40443669357c1
Monotone-Revision: 277f7fb3b1c3b63503c10fddc8d0247cfa1dcf61 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-11T18:49:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
if (![aptFolder isNotNull])
|
||||
return nil;
|
||||
|
||||
if (![aptFolder respondsToSelector:@selector(fetchCoreInfosFrom:to:)]) {
|
||||
if (![aptFolder respondsToSelector:@selector(fetchCoreInfosFrom:to:component:)]) {
|
||||
[self errorWithFormat:@"folder does not implemented required API: %@",
|
||||
_folder];
|
||||
return nil;
|
||||
@@ -119,9 +119,10 @@
|
||||
}
|
||||
|
||||
/* overridden */
|
||||
- (NSArray *)fetchFields:(NSArray *)_fields
|
||||
from:(NSCalendarDate *)_startDate
|
||||
to:(NSCalendarDate *)_endDate
|
||||
- (NSArray *) fetchFields: (NSArray *) _fields
|
||||
from: (NSCalendarDate *) _startDate
|
||||
to: (NSCalendarDate *) _endDate
|
||||
component: (id) _component
|
||||
{
|
||||
NSArray *folders;
|
||||
NSMutableArray *result;
|
||||
@@ -158,9 +159,10 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
results = [aptFolder fetchFields:_fields
|
||||
from:_startDate
|
||||
to:_endDate];
|
||||
results = [aptFolder fetchFields: _fields
|
||||
from: _startDate
|
||||
to: _endDate
|
||||
component: _component];
|
||||
if (![results isNotNull]) continue;
|
||||
|
||||
results = [results objectEnumerator];
|
||||
|
||||
Reference in New Issue
Block a user