Function isPublicAccessEnabled was missing

pull/38/head
Alexandre Cloutier 2014-05-16 13:50:52 -04:00
parent 07445eb069
commit f8c8abc989
1 changed files with 9 additions and 0 deletions

View File

@ -18,6 +18,8 @@
* Boston, MA 02111-1307, USA.
*/
#import <SOGo/SOGoSystemDefaults.h>
#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