mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Monotone-Parent: e5c0dcb0589437eaceeabfaf2552be656e7a33c8
Monotone-Revision: 730c8a73525c070f1f66243a9c692f2ee0adbcd0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-12-02T21:18:22 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
|
||||
#import "SOGoUserDefaults.h"
|
||||
|
||||
static Class SOGoUserProfileKlass = Nil;
|
||||
|
||||
NSString *SOGoWeekStartJanuary1 = @"January1";
|
||||
NSString *SOGoWeekStartFirst4DayWeek = @"First4DayWeek";
|
||||
@@ -45,18 +44,16 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
return @"SOGoSQLUserProfile";
|
||||
}
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
if (!SOGoUserProfileKlass)
|
||||
SOGoUserProfileKlass = NSClassFromString ([self userProfileClassName]);
|
||||
}
|
||||
|
||||
+ (SOGoUserDefaults *) defaultsForUser: (NSString *) userId
|
||||
inDomain: (NSString *) domainId
|
||||
{
|
||||
SOGoUserProfile *up;
|
||||
SOGoUserDefaults *ud;
|
||||
SOGoDefaultsSource *parentSource;
|
||||
static Class SOGoUserProfileKlass = Nil;
|
||||
|
||||
if (!SOGoUserProfileKlass)
|
||||
SOGoUserProfileKlass = NSClassFromString ([self userProfileClassName]);
|
||||
|
||||
up = [SOGoUserProfileKlass userProfileWithType: SOGoUserProfileTypeDefaults
|
||||
forUID: userId];
|
||||
|
||||
Reference in New Issue
Block a user