mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
See ChangeLog
Monotone-Parent: dec9b1733e709c1ad5b0be7dc9d1c4d9b2f6f991 Monotone-Revision: 3b52714060113176005a0886d4a2e1a33ab89ecc Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-05-22T21:39:53 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
+9
-1
@@ -77,7 +77,7 @@ convertOldSOGoDomain (NSUserDefaults *ud)
|
||||
int
|
||||
main (int argc, char **argv, char **env)
|
||||
{
|
||||
NSString *tzName;
|
||||
NSString *tzName, *redirectURL;
|
||||
NSUserDefaults *ud;
|
||||
NSAutoreleasePool *pool;
|
||||
int rc;
|
||||
@@ -97,6 +97,14 @@ main (int argc, char **argv, char **env)
|
||||
ud = [NSUserDefaults standardUserDefaults];
|
||||
convertOldSOGoDomain (ud);
|
||||
|
||||
redirectURL = [ud stringForKey: @"WOApplicationRedirectURL"];
|
||||
if (redirectURL && [redirectURL hasSuffix: @"/"])
|
||||
{
|
||||
[ud setObject: [redirectURL substringToIndex: [redirectURL length] - 1]
|
||||
forKey: @"WOApplicationRedirectURL"];
|
||||
[ud synchronize];
|
||||
}
|
||||
|
||||
rc = 0;
|
||||
tzName = [ud stringForKey: @"SOGoServerTimeZone"];
|
||||
if (!tzName)
|
||||
|
||||
Reference in New Issue
Block a user