mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 13:55:23 +00:00
Monotone-Parent: afb2242cf07ec3d3c9cbe25bb4a43d4e15d1ec70
Monotone-Revision: 3ea0b7cf5da4f19b50ca8ef28a18b5479c38c7a5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-12-01T14:29:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -79,24 +79,22 @@
|
||||
dd = [user domainDefaults];
|
||||
if ([dd vacationEnabled])
|
||||
{
|
||||
vacationOptions = [userDefaults vacationOptions];
|
||||
vacationOptions = [[userDefaults vacationOptions] mutableCopy];
|
||||
if (!vacationOptions)
|
||||
{
|
||||
vacationOptions = [NSMutableDictionary dictionary];
|
||||
vacationOptions = [NSMutableDictionary new];
|
||||
[userDefaults setVacationOptions: vacationOptions];
|
||||
}
|
||||
[vacationOptions retain];
|
||||
}
|
||||
|
||||
if ([dd forwardEnabled])
|
||||
{
|
||||
forwardOptions = [userDefaults forwardOptions];
|
||||
forwardOptions = [[userDefaults forwardOptions] mutableCopy];
|
||||
if (!forwardOptions)
|
||||
{
|
||||
forwardOptions = [NSMutableDictionary dictionary];
|
||||
forwardOptions = [NSMutableDictionary new];
|
||||
[userDefaults setForwardOptions: forwardOptions];
|
||||
}
|
||||
[forwardOptions retain];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user