mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Monotone-Parent: b65579776953326ae0dd65da2a1d59cacda222cd
Monotone-Revision: 8b6f603129f482aecde7edceba94520c3b955ddb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-23T14:11:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
workweek = from -> to
|
||||
identities */
|
||||
|
||||
static BOOL defaultsRead = NO;
|
||||
static BOOL shouldDisplayPasswordChange = NO;
|
||||
|
||||
@implementation UIxPreferences
|
||||
@@ -48,9 +49,13 @@ static BOOL shouldDisplayPasswordChange = NO;
|
||||
{
|
||||
NSUserDefaults *ud;
|
||||
|
||||
ud = [NSUserDefaults standardUserDefaults];
|
||||
shouldDisplayPasswordChange
|
||||
= [ud boolForKey: @"SOGoUIxUserCanChangePassword"];
|
||||
if (!defaultsRead)
|
||||
{
|
||||
ud = [NSUserDefaults standardUserDefaults];
|
||||
shouldDisplayPasswordChange
|
||||
= [ud boolForKey: @"SOGoUIxUserCanChangePassword"];
|
||||
defaultsRead = YES;
|
||||
}
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
||||
Reference in New Issue
Block a user