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:
Wolfgang Sourdeau
2011-03-07 18:58:14 +00:00
parent 17af002bd3
commit 1c5baea83d
6 changed files with 44 additions and 3 deletions
+11 -1
View File
@@ -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;
}