From 7434e5fc05b4d98482cde5443110dc8c50933be9 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Thu, 7 Feb 2008 22:26:34 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1362 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SoObjects/Mailer/SOGoMailAccount.m | 5 +++-- SoObjects/SOGo/SOGoUser.h | 2 +- SoObjects/SOGo/SOGoUser.m | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/SoObjects/Mailer/SOGoMailAccount.m b/SoObjects/Mailer/SOGoMailAccount.m index 69cefa26..357b7702 100644 --- a/SoObjects/Mailer/SOGoMailAccount.m +++ b/SoObjects/Mailer/SOGoMailAccount.m @@ -28,8 +28,9 @@ #import #import #import -#import #import +#import +#import #import #import #import @@ -248,7 +249,7 @@ static NSString *otherUsersFolderName = @""; // TODO: add English default - (NSString *) urlHostString { NSDictionary *mailAccount; - NSString *username, *escUsername, hostString; + NSString *username, *escUsername, *hostString; mailAccount = [[context activeUser] accountWithName: nameInContainer]; if (mailAccount) diff --git a/SoObjects/SOGo/SOGoUser.h b/SoObjects/SOGo/SOGoUser.h index 6a5e89c6..03c067ce 100644 --- a/SoObjects/SOGo/SOGoUser.h +++ b/SoObjects/SOGo/SOGoUser.h @@ -118,7 +118,7 @@ extern NSString *SOGoWeekStartFirstFullWeek; - (NSTimeZone *) serverTimeZone; - (NSArray *) mailAccounts; -- (NSDictinary *) accountWithName: (NSString *) accountName; +- (NSDictionary *) accountWithName: (NSString *) accountName; - (NSArray *) allIdentities; - (NSDictionary *) primaryIdentity; - (NSMutableDictionary *) defaultIdentity; diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index b94e7188..89d6b7f0 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -507,7 +507,7 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek"; return mailAccounts; } -- (NSDictinary *) accountWithName: (NSString *) accountName +- (NSDictionary *) accountWithName: (NSString *) accountName; { NSEnumerator *accounts; NSDictionary *mailAccount, *currentAccount; @@ -518,7 +518,7 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek"; while (!mailAccount && ((currentAccount = [accounts nextObject]))) if ([[currentAccount objectForKey: @"name"] - isEqualToString: nameInContainer]) + isEqualToString: accountName]) mailAccount = currentAccount; return mailAccount; -- 2.39.5