mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 07:17:12 +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:
1 parent
0b55cd4485
commit
80419f5ea7
4 files changed
+20
-24
No files matched your search
@@ -265,13 +265,6 @@ _timeValue (NSString *key)
|
||||
_defaults = nil;
|
||||
_settings = nil;
|
||||
|
||||
// We propagate the cache if we do NOT trust the login names.
|
||||
// When trusting login names, we 'assume' we're dealing with a
|
||||
// super user doing kungfu with the system. We definitively don't
|
||||
// want to propagate the cache to other sogod instances when
|
||||
// dealing with massive number of ops.
|
||||
propagateCache = !b;
|
||||
|
||||
if ([newLogin isEqualToString: @"anonymous"]
|
||||
|| [newLogin isEqualToString: @"freebusy"])
|
||||
realUID = newLogin;
|
||||
@@ -461,9 +454,8 @@ _timeValue (NSString *key)
|
||||
SOGoUserDefaults *o;
|
||||
|
||||
o = [[SOGoUserDefaults alloc] initWithTableURL: SOGoProfileURL
|
||||
uid: login
|
||||
fieldName: @"c_defaults"
|
||||
shouldPropagate: propagateCache];
|
||||
uid: login
|
||||
fieldName: @"c_defaults"];
|
||||
|
||||
return o;
|
||||
}
|
||||
@@ -473,9 +465,8 @@ _timeValue (NSString *key)
|
||||
SOGoUserDefaults *o;
|
||||
|
||||
o = [[SOGoUserDefaults alloc] initWithTableURL: SOGoProfileURL
|
||||
uid: login
|
||||
fieldName: @"c_settings"
|
||||
shouldPropagate: propagateCache];
|
||||
uid: login
|
||||
fieldName: @"c_settings"];
|
||||
|
||||
return o;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user