mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 19:04:18 +00:00
Monotone-Parent: c61109eb28c9671d365c0b308b3db5532b7b6d96
Monotone-Revision: 18c6beb6dfc5244421f4f5a55c6a869b498d86a6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-22T20:17:34 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -40,8 +40,19 @@
|
||||
workweek = from -> to
|
||||
identities */
|
||||
|
||||
static BOOL shouldDisplayPasswordChange = NO;
|
||||
|
||||
@implementation UIxPreferences
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
NSUserDefaults *ud;
|
||||
|
||||
ud = [NSUserDefaults standardUserDefaults];
|
||||
shouldDisplayPasswordChange
|
||||
= [ud boolForKey: @"SOGoUIxUserCanChangePassword"];
|
||||
}
|
||||
|
||||
- (id) init
|
||||
{
|
||||
NSDictionary *locale;
|
||||
@@ -426,4 +437,9 @@
|
||||
return [[request method] isEqualToString: @"POST"];
|
||||
}
|
||||
|
||||
- (BOOL) shouldDisplayPasswordChange
|
||||
{
|
||||
return shouldDisplayPasswordChange;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user