+2004-09-08 <helge@agenor.opengroupware.org>
+
+ * SOGoGroupAppointmentFolder.m: do not call -sleep in fetch method
+ (disconnects the folder from the parent folder), instead added a
+ -resetFolderCaches methods which performs some cleanups before a
+ fetch (v0.9.11)
+
2004-08-16 Helge Hess <helge.hess@skyrix.com>
* SOGoAppointmentFolder.m: added method to create a group folder and
/* folders */
+- (void)resetFolderCaches {
+ [self->uidToFolder release]; self->uidToFolder = nil;
+}
+
- (SOGoAppointmentFolder *)folderForUID:(NSString *)_uid {
if (self->uidToFolder == nil) {
// TODO: can we trigger a fetch?
NSMutableDictionary *uidToRecord;
unsigned i, count;
- [self sleep];
+ [self resetFolderCaches];
if ((count = [_folders count]) == 0)
return [NSArray array];
# $Id: Version,v 1.9 2004/05/19 14:30:45 helge Exp $
-SUBMINOR_VERSION:=10
+SUBMINOR_VERSION:=11
+2004-09-08 <helge@agenor.opengroupware.org>
+
+ * SOGoGroupFolder.m: separate -resetFolderCaches method from -sleep
+ (v0.9.16)
+
2004-09-08 Helge Hess <helge.hess@skyrix.com>
* SOGoUserFolder.m: map "Mail" key to SOGoMailAccounts object (v0.9.15)
- (NSArray *)memberFolders;
- (id)folderForUID:(NSString *)_uid;
+- (void)resetFolderCaches;
- (void)sleep;
/* pathes */
return [self->uidToFolder objectForKey:_uid];
}
-- (void)sleep {
+- (void)resetFolderCaches {
[self->uidToFolder release]; self->uidToFolder = nil;
[self->folders release]; self->folders = nil;
+}
+- (void)sleep {
+ [self resetFolderCaches];
[super sleep];
}
# $Id: Version 170 2004-08-11 10:45:40Z helge $
-SUBMINOR_VERSION:=15
+SUBMINOR_VERSION:=16