mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
feat(core): add SOGoDisableExport option to disable export for mail, calendar and contacts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user