mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-22 15:13:18 +00:00
Monotone-Parent: e5e3e8aeac9b5235e537766deabadd79882c8c99
Monotone-Revision: 209e7eb7e8da3fd5da422d48a58f4fd5f9e60d54 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-01T18:49:01 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2010-06-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoSystemDefaults.m (-enablePublicAccess): new
|
||||
accessor for the SOGoEnablePublicAccess boolean user default.
|
||||
|
||||
* SoObjects/SOGo/SOGoUserManager.m
|
||||
(-contactInfosForUserWithUIDorEmail:): return a fixed dictionary
|
||||
of information for uid = "anonymous".
|
||||
|
||||
@@ -64,6 +64,8 @@
|
||||
|
||||
- (NSString *) CASServiceURL;
|
||||
|
||||
- (BOOL) enablePublicAccess;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* SOGOSYSTEMDEFAULTS_H */
|
||||
|
||||
@@ -296,4 +296,9 @@ BootstrapNSUserDefaults ()
|
||||
return [self stringForKey: @"SOGoCASServiceURL"];
|
||||
}
|
||||
|
||||
- (BOOL) enablePublicAccess
|
||||
{
|
||||
return [self boolForKey: @"SOGoEnablePublicAccess"];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user