mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
See ChangeLog
Monotone-Parent: 517b0b095f30f6f2f92a4da5dfe0155872190daa Monotone-Revision: b28dce204bf84148d4bd3df3df8b289cdd7a4168 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-09-27T20:15:06 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -506,6 +506,15 @@
|
||||
return [ud language];
|
||||
}
|
||||
|
||||
- (BOOL) userHasVacationEnabled
|
||||
{
|
||||
NSDictionary *vacationOptions;
|
||||
|
||||
vacationOptions = [[[context activeUser] userDefaults] vacationOptions];
|
||||
|
||||
return (vacationOptions && [[vacationOptions objectForKey: @"enabled"] boolValue]);
|
||||
}
|
||||
|
||||
/* UserDefaults, UserSettings */
|
||||
- (NSString *) _dictionaryWithKeys: (NSArray *) keys
|
||||
fromSource: (SOGoDefaultsSource *) source
|
||||
|
||||
Reference in New Issue
Block a user