Monotone-Parent: d48fed214ae2d8c0aea1b8848de745e3ee235afa
Monotone-Revision: 2cafdbe57b649f3842f8bc101e3a2eb5ff10af5c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-07T15:11:22 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
e67931703f
commit
40b8b1a463
|
@ -9,6 +9,7 @@
|
|||
invokes [self addProperties:] to modify the "properties" ivar,
|
||||
instead of doing it directly. This enables subclasses to only need
|
||||
overriding -addProperties:.
|
||||
(-resetProperties): removed useless method.
|
||||
|
||||
* OpenChange/MAPIStoreVolatileMessage.m (-addPropertiesFromRow:):
|
||||
removed obsolete overloading of method.
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
[sogoObject appendProperties: properties];
|
||||
[sogoObject save];
|
||||
[self resetProperties];
|
||||
[properties removeAllObjects];
|
||||
}
|
||||
|
||||
- (NSDate *) creationTime
|
||||
|
|
|
@ -812,7 +812,7 @@ MakeMessageBody (NSDictionary *mailProperties, NSDictionary *attachmentParts,
|
|||
mapping = [[self context] mapping];
|
||||
[mapping unregisterURLWithID: [self objectId]];
|
||||
[self setIsNew: NO];
|
||||
[self resetProperties];
|
||||
[properties removeAllObjects];
|
||||
[[self container] cleanupCaches];
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
|
|
|
@ -460,7 +460,7 @@ MAPIStoreExternalEntryId (NSString *cn, NSString *email)
|
|||
[[containerTables objectAtIndex: count]
|
||||
notifyChangesForChild: self];
|
||||
[self setIsNew: NO];
|
||||
[self resetProperties];
|
||||
[properties removeAllObjects];
|
||||
[container cleanupCaches];
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
|
|
|
@ -86,7 +86,6 @@
|
|||
|
||||
- (void) addProperties: (NSDictionary *) newProperties;
|
||||
- (NSDictionary *) properties;
|
||||
- (void) resetProperties;
|
||||
|
||||
/* ops */
|
||||
- (int) getAvailableProperties: (struct SPropTagArray **) propertiesP
|
||||
|
|
|
@ -235,11 +235,6 @@ static Class NSExceptionK, MAPIStoreFolderK;
|
|||
return properties;
|
||||
}
|
||||
|
||||
- (void) resetProperties
|
||||
{
|
||||
[properties removeAllObjects];
|
||||
}
|
||||
|
||||
- (int) getProperty: (void **) data
|
||||
withTag: (enum MAPITAGS) propTag
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
|
|
Loading…
Reference in New Issue