feat(core): add SOGoDisableExport option to disable export for mail, calendar and contacts

This commit is contained in:
Hivert Quentin
2023-11-03 18:20:12 +01:00
parent e0ef59d5f2
commit d0b4b50456
12 changed files with 152 additions and 49 deletions
+12
View File
@@ -832,5 +832,17 @@ NSComparisonResult languageSort(id el1, id el2, void *context)
return disableSharingAnyAuthUser;
}
- (NSArray *) disableExport
{
static NSArray *disableExport = nil;
if (!disableExport)
{
disableExport = [self stringArrayForKey: @"SOGoDisableExport"];
[disableExport retain];
}
return disableExport;
}
@end