Remove not needed block in SoObjects/SOGo/SOGoUserManager.m

This commit is contained in:
Julio García
2015-07-07 14:25:17 +02:00
parent 7da7bdc1bf
commit 936c38c43e
+1 -9
View File
@@ -443,19 +443,11 @@ static Class NSNullK;
checkOK = NO;
if (*domain == nil)
{
sd = [SOGoSystemDefaults sharedSystemDefaults];
r = [login rangeOfString: @"@" options: NSBackwardsSearch];
if ([sd enableDomainBasedUID] && r.location != NSNotFound)
*domain = [login substringFromIndex: (r.location + r.length)];
}
authIDs = [[self authenticationSourceIDsInDomain: *domain] objectEnumerator];
while (!checkOK && (currentID = [authIDs nextObject]))
{
sogoSource = [_sources objectForKey: currentID];
checkOK = [sogoSource checkLogin: login
password: password
perr: perr