Monotone-Parent: d75ed56bb85ad0c1c37621595267a590aa9b60db

Monotone-Revision: 3e033b86ce4c3221ccb5e2e1dd845bd3a033ec31

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-10-13T01:03:09
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-10-13 01:03:09 +00:00
parent 600c8ddb7e
commit 9c17e7be92
3 changed files with 61 additions and 4 deletions
+6
View File
@@ -170,6 +170,9 @@ _prepareContextClass (Class contextClass,
if (context)
{
*contextPtr = context;
mapistore_mgmt_backend_register_user (newConnInfo,
"SOGo",
[[[context authenticator] username] UTF8String]);
rc = MAPISTORE_SUCCESS;
}
}
@@ -221,6 +224,9 @@ _prepareContextClass (Class contextClass,
- (void) dealloc
{
mapistore_mgmt_backend_unregister_user ([self connectionInfo], "SOGo",
[[[self authenticator] username]
UTF8String]);
[baseFolder release];
[woContext release];
[authenticator release];