mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 06:15:26 +00:00
Monotone-Parent: 5fa8ca8896455803ea0da4db7e5c1e18e8328871
Monotone-Revision: a6e08bd7d394d186c6f5606933ed09de2031e7bb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-07T16:53:19 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -26,12 +26,14 @@
|
||||
#import <Foundation/NSTimer.h>
|
||||
#import <Foundation/NSUserDefaults.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import <NGExtensions/NSObject+Logs.h>
|
||||
|
||||
#import "NSArray+Utilities.h"
|
||||
#import "LDAPSource.h"
|
||||
#import "LDAPUserManager.h"
|
||||
|
||||
static NSString *defaultMailDomain = nil;
|
||||
static BOOL defaultMailDomainIsConfigured = NO;
|
||||
|
||||
@implementation LDAPUserManager
|
||||
|
||||
@@ -44,7 +46,20 @@ static NSString *defaultMailDomain = nil;
|
||||
{
|
||||
defaultMailDomain = [ud stringForKey: @"SOGoDefaultMailDomain"];
|
||||
[defaultMailDomain retain];
|
||||
defaultMailDomainIsConfigured = YES;
|
||||
}
|
||||
if (!defaultMailDomain)
|
||||
{
|
||||
[self warnWithFormat:
|
||||
@"no domain specified for SOGoDefaultMailDomain,"
|
||||
@" value set to 'localhost'"];
|
||||
defaultMailDomain = @"localhost";
|
||||
}
|
||||
}
|
||||
|
||||
+ (BOOL) defaultMailDomainIsConfigured
|
||||
{
|
||||
return defaultMailDomainIsConfigured;
|
||||
}
|
||||
|
||||
+ (id) sharedUserManager
|
||||
|
||||
Reference in New Issue
Block a user