mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Monotone-Parent: cca78e92405cd0f44d20538ad0b0e699160785fd
Monotone-Revision: 482fb2f36da6ff311c3c19eb3752da985fdae5cd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-03-07T18:58:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#import <GDLContentStore/GCSFolder.h>
|
||||
|
||||
#import "NSCalendarDate+SOGo.h"
|
||||
#import "SOGoCache.h"
|
||||
#import "SOGoGCSFolder.h"
|
||||
#import "SOGoUser.h"
|
||||
#import "SOGoPermissions.h"
|
||||
@@ -199,7 +200,11 @@
|
||||
}
|
||||
else
|
||||
[self errorWithFormat:@"Did not find folder of content object."];
|
||||
|
||||
|
||||
[container removeChildRecordWithName: nameInContainer];
|
||||
[[SOGoCache sharedCache] unregisterObjectWithName: nameInContainer
|
||||
inContainer: container];
|
||||
|
||||
return ex;
|
||||
}
|
||||
|
||||
@@ -249,6 +254,11 @@
|
||||
[self errorWithFormat:@"delete failed: %@", ex];
|
||||
return ex;
|
||||
}
|
||||
|
||||
[container removeChildRecordWithName: nameInContainer];
|
||||
[[SOGoCache sharedCache] unregisterObjectWithName: nameInContainer
|
||||
inContainer: container];
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user