Monotone-Parent: 9ef00254e19a7cd3faee64fba851af4a262d9b96

Monotone-Revision: a591a00688fc85c847f8d8141b114570c3ecef81

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-12T22:09:32
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2007-06-12 22:09:32 +00:00
1 parent a96c627f22
commit f5913f2127
2 files changed
+15 -2

No files matched your search

+10 -2
View File
@@ -680,12 +680,15 @@ static BOOL debugSoParts = NO;
/* name lookup */
- (id)lookupImap4BodyPartKey:(NSString *)_key inContext:(id)_ctx {
- (id) lookupImap4BodyPartKey: (NSString *) _key
inContext: (id) _ctx
{
// TODO: we might want to check for existence prior controller creation
Class clazz;
clazz = [SOGoMailBodyPart bodyPartClassForKey:_key inContext:_ctx];
return [[[clazz alloc] initWithName:_key inContainer:self] autorelease];
return [clazz objectWithName:_key inContainer: self];
}
- (id)lookupName:(NSString *)_key inContext:(id)_ctx acquire:(BOOL)_flag {
@@ -1064,6 +1067,11 @@ static BOOL debugSoParts = NO;
return @"IPM.Message"; /* email, default class */
}
- (NSArray *) aclsForUser: (NSString *) uid
{
return [container aclsForUser: uid];
}
/* debugging */
- (BOOL)isDebuggingEnabled {