mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-12 06:55:26 +00:00
feat(core): Add SOGoDisableSharing option to disable sharing for mail, contacts and calendar
This commit is contained in:
@@ -791,5 +791,18 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
|
||||
return secret;
|
||||
}
|
||||
|
||||
- (NSArray *) disableSharing
|
||||
{
|
||||
static NSArray *disableSharing = nil;
|
||||
|
||||
if (!disableSharing)
|
||||
{
|
||||
disableSharing = [self stringArrayForKey: @"SOGoDisableSharing"];
|
||||
[disableSharing retain];
|
||||
}
|
||||
|
||||
return disableSharing;
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user