From 054847d0ca83c08e3e29245614974bbacfe9eb7d Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 30 Jan 2012 20:12:18 +0000 Subject: [PATCH] Monotone-Parent: aee2a5da27231d521f813fbb791f9e2c968f94b2 Monotone-Revision: 6b3a3195262782a0783af8640a0fb24dd1103387 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-30T20:12:18 Monotone-Branch: ca.inverse.sogo --- OpenChange/MAPIStoreContext.m | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/OpenChange/MAPIStoreContext.m b/OpenChange/MAPIStoreContext.m index bc5e99729..921aaafef 100644 --- a/OpenChange/MAPIStoreContext.m +++ b/OpenChange/MAPIStoreContext.m @@ -106,10 +106,11 @@ static NSMutableDictionary *contextClassMapping; NSUInteger count, max; MAPIStoreUserContext *userContext; + list = NULL; + userContext = [MAPIStoreUserContext userContextWithUsername: userName andTDBIndexing: indexingTdb]; [userContext activateWithUser: [userContext sogoUser]]; - list = NULL; classes = GSObjCAllSubclassesOfClass (self); max = [classes count]; @@ -120,10 +121,7 @@ static NSMutableDictionary *contextClassMapping; withTDBIndexing: indexingTdb inMemCtx: memCtx]; if (current) - { - [self logWithFormat: @"adding list: %p", current]; - DLIST_CONCATENATE(list, current, void); - } + DLIST_CONCATENATE(list, current, void); } return list;