From f8c8abc989b12988aca19d44152f11afbc0b57e6 Mon Sep 17 00:00:00 2001 From: Alexandre Cloutier Date: Fri, 16 May 2014 13:50:52 -0400 Subject: [PATCH] Function isPublicAccessEnabled was missing --- UI/Contacts/UIxContactFolderProperties.m | 9 +++++++++ 1 file changed, 9 insertions(+) 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