mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-10 19:05:09 +00:00
Monotone-Parent: 4ad21ea0342a626a99aabc213cf8ed9a827eb0c4
Monotone-Revision: d175e2ab17f0d56d2fdc9a046048a0302d9fd0f7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-02T13:16:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
#import <NGExtensions/NSObject+Logs.h>
|
||||
|
||||
#import "NSArray+Utilities.h"
|
||||
#import "NSDictionary+BSJSONAdditions.h"
|
||||
#import "NSString+Utilities.h"
|
||||
#import "NSObject+Utilities.h"
|
||||
#import "SOGoDomainDefaults.h"
|
||||
#import "SOGoSource.h"
|
||||
#import "SOGoSystemDefaults.h"
|
||||
@@ -440,7 +440,7 @@
|
||||
// internal cache.
|
||||
[currentUser setObject: _pwd forKey: @"password"];
|
||||
[[SOGoCache sharedCache]
|
||||
setUserAttributes: [currentUser jsonStringValue]
|
||||
setUserAttributes: [currentUser jsonRepresentation]
|
||||
forLogin: _login];
|
||||
}
|
||||
else
|
||||
@@ -481,7 +481,7 @@
|
||||
// internal cache.
|
||||
[currentUser setObject: newPassword forKey: @"password"];
|
||||
[[SOGoCache sharedCache]
|
||||
setUserAttributes: [currentUser jsonStringValue]
|
||||
setUserAttributes: [currentUser jsonRepresentation]
|
||||
forLogin: login];
|
||||
}
|
||||
else
|
||||
@@ -595,13 +595,13 @@
|
||||
key = [newUser objectForKey: @"c_uid"];
|
||||
if (key)
|
||||
[[SOGoCache sharedCache]
|
||||
setUserAttributes: [newUser jsonStringValue]
|
||||
setUserAttributes: [newUser jsonRepresentation]
|
||||
forLogin: key];
|
||||
|
||||
emails = [[newUser objectForKey: @"emails"] objectEnumerator];
|
||||
while ((key = [emails nextObject]))
|
||||
[[SOGoCache sharedCache]
|
||||
setUserAttributes: [newUser jsonStringValue]
|
||||
setUserAttributes: [newUser jsonRepresentation]
|
||||
forLogin: key];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user