mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Monotone-Parent: 8491fd7ecec899497401733993e0cfd27a87ca51
Monotone-Revision: 23e06db474789eb4ae4db47b1d4dff4b5d7fcb49 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-19T20:07:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -46,7 +46,6 @@ static NSString *uidColumnName = @"c_uid";
|
||||
- (id) initWithTableURL: (NSURL *) theURL
|
||||
uid: (NSString *) theUID
|
||||
fieldName: (NSString *) theFieldName
|
||||
shouldPropagate: (BOOL) b
|
||||
{
|
||||
if ((self = [self init]))
|
||||
{
|
||||
@@ -57,7 +56,6 @@ static NSString *uidColumnName = @"c_uid";
|
||||
url = [theURL copy];
|
||||
uid = [theUID copy];
|
||||
defFlags.ready = YES;
|
||||
propagateCache = b;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -291,12 +289,9 @@ static NSString *uidColumnName = @"c_uid";
|
||||
[self errorWithFormat: @"failed to generate SQL for storing defaults"];
|
||||
|
||||
if (rc)
|
||||
{
|
||||
if (propagateCache)
|
||||
[[SOGoCache sharedCache] cacheValues: values
|
||||
ofType: ([fieldName isEqualToString: @"c_defaults"] ? @"defaults" : @"settings")
|
||||
forLogin: uid];
|
||||
}
|
||||
[[SOGoCache sharedCache] cacheValues: values
|
||||
ofType: ([fieldName isEqualToString: @"c_defaults"] ? @"defaults" : @"settings")
|
||||
forLogin: uid];
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user