mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
Fixed ics subscription crash with store
Monotone-Parent: 151b30c115a62428b80f871f09930672bb0b764b Monotone-Revision: 11ca52315bdce5c8e4b000e5b9f33d5b2ecbd052 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-09-23T15:00:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -31,6 +31,11 @@
|
||||
|
||||
@implementation SOGoWebAppointmentFolder
|
||||
|
||||
- (void) deleteAllContent
|
||||
{
|
||||
[[self ocsFolder] deleteAllContent];
|
||||
}
|
||||
|
||||
- (int) loadWebCalendar: (NSString *) location
|
||||
{
|
||||
NSURL *url;
|
||||
@@ -57,7 +62,7 @@
|
||||
calendar = [iCalCalendar parseSingleFromSource: contents];
|
||||
if (calendar)
|
||||
{
|
||||
[[self ocsFolder] deleteAllContent];
|
||||
[self deleteAllContent];
|
||||
imported = [self importCalendar: calendar];
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user