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

This commit is contained in:
Hivert Quentin committed 2023-11-03 18:20:12 +01:00
1 parent e0ef59d5f2
commit d0b4b50456
12 files changed
+152 -49

No files matched your search

+14
View File
@@ -597,6 +597,20 @@
return result;
}
- (BOOL) isMailExportEnabled {
BOOL result;
SOGoSystemDefaults *sd;
result = YES;
sd = [SOGoSystemDefaults sharedSystemDefaults];
if (nil != [sd disableExport]
&& NSNotFound != [[sd disableExport] indexOfObject: kDisableSharingMail]) {
result = NO;
}
return result;
}
@end /* UIxMailMainFrame */
@interface UIxMailFolderTemplate : UIxComponent