This commit is contained in:
Ludovic Marcotte committed 2015-02-09 16:12:59 -05:00
1 parent 98e4c8ca55
commit 6c9b1a494f
5 files changed
+57 -12

No files matched your search

+24
View File
@@ -1127,6 +1127,30 @@ static NSArray *reminderValues = nil;
return ignore;
}
//
// See http://sogo.nu/bugs/view.php?id=2332 for details
//
- (void) setAlwaysSend: (BOOL) ignoreLists
{
[vacationOptions setObject: [NSNumber numberWithBool: ignoreLists]
forKey: @"alwaysSend"];
}
- (BOOL) alwaysSend
{
NSNumber *obj;
BOOL ignore;
obj = [vacationOptions objectForKey: @"alwaysSend"];
if (obj == nil)
ignore = NO; // defaults to NO
else
ignore = [obj boolValue];
return ignore;
}
- (BOOL) enableVacationEndDate
{
return [[vacationOptions objectForKey: @"endDateEnabled"] boolValue];