mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-22 21:50:32 +00:00
merge of 'a9673b6b7feb76572f80c31fe67ba936ed709f8f'
and 'b246c3979cba84d0c46cb39e0141ae390baaea7a' Monotone-Parent: a9673b6b7feb76572f80c31fe67ba936ed709f8f Monotone-Parent: b246c3979cba84d0c46cb39e0141ae390baaea7a Monotone-Revision: dfb0905a14bcb6b22ea2b02eb9910b1e098aeaa9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-10-14T12:48:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#import <NGObjWeb/WOContext.h>
|
||||
#import <NGObjWeb/WORequest.h>
|
||||
|
||||
#import <NGExtensions/NSObject+Logs.h>
|
||||
|
||||
#import <SoObjects/SOGo/NSArray+Utilities.h>
|
||||
#import <SoObjects/SOGo/NSDictionary+Utilities.h>
|
||||
#import <SoObjects/SOGo/NSString+Utilities.h>
|
||||
@@ -369,8 +371,7 @@ static BOOL forwardEnabled = NO;
|
||||
NSMutableArray *daysList;
|
||||
unsigned int currentDay;
|
||||
|
||||
daysList = [NSMutableArray new];
|
||||
[daysList autorelease];
|
||||
daysList = [NSMutableArray array];
|
||||
for (currentDay = 0; currentDay < 7; currentDay++)
|
||||
[daysList addObject: [NSString stringWithFormat: @"%d", currentDay]];
|
||||
|
||||
@@ -751,8 +752,7 @@ static BOOL forwardEnabled = NO;
|
||||
addressesList = [vacationOptions objectForKey: @"autoReplyEmailAddresses"];
|
||||
if (!addressesList)
|
||||
{
|
||||
newAddressesList = [NSMutableArray new];
|
||||
[newAddressesList autorelease];
|
||||
newAddressesList = [NSMutableArray array];
|
||||
addressesList = [NSMutableArray arrayWithArray: [user allEmails]];
|
||||
for (i = 0; i < [addressesList count]; i++)
|
||||
{
|
||||
@@ -1031,10 +1031,10 @@ static BOOL forwardEnabled = NO;
|
||||
mutabilityOption: NSPropertyListImmutable
|
||||
format: &format
|
||||
errorDescription: &error];
|
||||
|
||||
if(!plist)
|
||||
if (!plist)
|
||||
{
|
||||
NSLog(error);
|
||||
[self errorWithFormat: @"an error occured during deserialization"
|
||||
@" of categories: %@", error];
|
||||
[error release];
|
||||
}
|
||||
else
|
||||
@@ -1044,7 +1044,6 @@ static BOOL forwardEnabled = NO;
|
||||
[userDefaults setObject: [plist objectAtIndex: 1]
|
||||
forKey: @"CalendarCategoriesColors"];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (NSArray *) languages
|
||||
|
||||
Reference in New Issue
Block a user