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:
Wolfgang Sourdeau
2007-07-22 20:17:34 +00:00
parent 7a99dbe7d8
commit d3966c8e57
4 changed files with 41 additions and 13 deletions
+16
View File
@@ -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