diff --git a/UI/Contacts/UIxContactFolderProperties.m b/UI/Contacts/UIxContactFolderProperties.m index da875ac03..00144c03c 100644 --- a/UI/Contacts/UIxContactFolderProperties.m +++ b/UI/Contacts/UIxContactFolderProperties.m @@ -18,6 +18,8 @@ * Boston, MA 02111-1307, USA. */ +#import + #import "UIxContactFolderProperties.h" @implementation UIxContactFolderProperties @@ -90,4 +92,11 @@ return [NSString stringWithFormat: @"%@/", [self _basePublicCardDAVURL]]; } +- (BOOL) isPublicAccessEnabled +{ + // NOTE: This method is the same found in Common/UIxAclEditor.m + return [[SOGoSystemDefaults sharedSystemDefaults] + enablePublicAccess]; +} + @end