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:
Wolfgang Sourdeau
2010-11-02 13:16:05 +00:00
parent 29ffadc001
commit 5c811e36ca
14 changed files with 37 additions and 678 deletions
+3 -3
View File
@@ -21,6 +21,7 @@
*/
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSPropertyList.h>
#import <Foundation/NSValue.h>
@@ -30,7 +31,6 @@
#import "NSObject+Utilities.h"
#import "NSString+Utilities.h"
#import "NSDictionary+BSJSONAdditions.h"
#import "SOGoCache.h"
#import "SOGoUserProfile.h"
@@ -139,7 +139,7 @@
{
[self logWithFormat: @"database value for %@"
@" (uid: '%@') is a plist", [self profileTypeName], uid];
jsonValue = [plist jsonStringValue];
jsonValue = [plist jsonRepresentation];
}
else
{
@@ -223,7 +223,7 @@
SOGoCache *cache;
BOOL rc;
jsonRepresentation = [values jsonStringValue];
jsonRepresentation = [values jsonRepresentation];
if (jsonRepresentation)
{
rc = [self storeJSONProfileInDB: jsonRepresentation];