From 4af99040b736726ef121b3867888326509d5fc8b Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 21 Aug 2008 21:40:48 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: f4a48c355ec45a380e52409f4443bd4198ea038a Monotone-Revision: e61122c5a0ba3f7e5dfada968f88f155fc08bb40 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-08-21T21:40:48 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 8 ++++++++ SoObjects/SOGo/LDAPUserManager.m | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f54b542fd..78499122b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-08-21 Ludovic Marcotte + + * SoObjects/SOGo/LDAPUserManager.m + Renamed the SOGOLDAPUserManagerCleanupInterval defaults to + SOGoLDAPUserManagerCleanupInterval. + We correctly add our timer to the runloop and fixed + a typo in the selector name. + 2008-08-21 Wolfgang Sourdeau * SoObjects/SOGo/NSString+Utilities.m ([NSString diff --git a/SoObjects/SOGo/LDAPUserManager.m b/SoObjects/SOGo/LDAPUserManager.m index 3679e0f67..1cf9d3794 100644 --- a/SoObjects/SOGo/LDAPUserManager.m +++ b/SoObjects/SOGo/LDAPUserManager.m @@ -1,6 +1,6 @@ /* LDAPUserManager.m - this file is part of SOGo * - * Copyright (C) 2007 Inverse groupe conseil + * Copyright (C) 2007-2008 Inverse inc. * * Author: Wolfgang Sourdeau * @@ -130,11 +130,11 @@ static BOOL forceImapLoginWithEmail = NO; sourcesMetadata = nil; users = [NSMutableDictionary new]; cleanupInterval - = [ud integerForKey: @"SOGOLDAPUserManagerCleanupInterval"]; + = [ud integerForKey: @"SOGoLDAPUserManagerCleanupInterval"]; if (cleanupInterval) - cleanupTimer = [NSTimer timerWithTimeInterval: cleanupInterval + cleanupTimer = [NSTimer scheduledTimerWithTimeInterval: cleanupInterval target: self - selector: @selector (cleanupUsers) + selector: @selector(cleanupSources) userInfo: nil repeats: YES]; [self _prepareLDAPSourcesWithDefaults: ud];