mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 21:08:51 +00:00
Monotone-Parent: 5acda2afec59d0f39574d366491c5ae9f40fa3de
Monotone-Revision: 638f19a902b772b34bc553dda4b8925b5d0639df Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-02T01:50:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -61,6 +61,7 @@ static NSMapTable *contextsTable = nil;
|
||||
userContext = [[self alloc] initWithUsername: username
|
||||
andTDBIndexing: indexingTdb];
|
||||
[userContext autorelease];
|
||||
[contextsTable setObject: userContext forKey: username];
|
||||
}
|
||||
|
||||
return userContext;
|
||||
@@ -97,11 +98,9 @@ static NSMapTable *contextsTable = nil;
|
||||
if (indexingTdb)
|
||||
ASSIGN (mapping, [MAPIStoreMapping mappingForUsername: username
|
||||
withIndexing: indexingTdb]);
|
||||
[contextsTable setObject: self forKey: username];
|
||||
|
||||
authenticator = [MAPIStoreAuthenticator new];
|
||||
[authenticator setUsername: username];
|
||||
|
||||
/* TODO: very hackish (IMAP access) */
|
||||
[authenticator setPassword: username];
|
||||
}
|
||||
@@ -118,7 +117,6 @@ static NSMapTable *contextsTable = nil;
|
||||
[authenticator release];
|
||||
[mapping release];
|
||||
|
||||
[username release];
|
||||
[sogoUser release];
|
||||
|
||||
[contextsTable removeObjectForKey: username];
|
||||
|
||||
Reference in New Issue
Block a user