(fix) show only the URL of web calendars, when asked

This commit is contained in:
Ludovic Marcotte committed 2015-06-15 12:03:38 -04:00
1 parent f7f83ae1c7
commit a49032a6bd
2 files changed
+52 -28

No files matched your search

@@ -18,8 +18,11 @@
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSURL.h>
#import <SOGo/SOGoSystemDefaults.h>
#import <Appointments/SOGoAppointmentFolder.h>
#import <Appointments/SOGoWebAppointmentFolder.h>
#import "UIxCalendarFolderLinksTemplate.h"
@@ -115,4 +118,14 @@
enablePublicAccess];
}
- (BOOL) isWebCalendar
{
return ([calendar isKindOfClass: [SOGoWebAppointmentFolder class]]);
}
- (NSString *) webCalendarURL
{
return [calendar folderPropertyValueInCategory: @"WebCalendars"];
}
@end