From: wolfgang Date: Mon, 17 Dec 2007 15:01:53 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1303 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f374866da1b4f5f49a63a685e040c7db3f98842f;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1303 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SoObjects/SOGo/SOGoUserFolder.m b/SoObjects/SOGo/SOGoUserFolder.m index 68bcfcd4..b034c311 100644 --- a/SoObjects/SOGo/SOGoUserFolder.m +++ b/SoObjects/SOGo/SOGoUserFolder.m @@ -470,11 +470,87 @@ public folder and the groups folder. */ NSArray *tag; + SOGoAppointmentFolders *parent; + parent = [self privateCalendars: @"Calendar" inContext: context]; tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D", - [self baseURLInContext: context], nil]; + [parent davURL], nil]; return [NSArray arrayWithObject: tag]; } +// - (NSArray *) davCalendarUserAddressSet +// { +// NSArray *tag, *allEmails; +// NSMutableArray *addresses; +// NSEnumerator *emails; +// NSString *currentEmail; + +// addresses = [NSMutableArray array]; + +// allEmails = [[context activeUser] allEmails]; +// emails = [allEmails objectEnumerator]; +// while ((currentEmail = [emails nextObject])) +// { +// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D", +// [NSString stringWithFormat: @"MAILTO:%@", currentEmail], +// nil]; +// [addresses addObject: tag]; +// } + +// return addresses; +// } + +// - (NSArray *) davCalendarScheduleInboxURL +// { +// NSArray *tag; +// SOGoAppointmentFolders *parent; + +// parent = [self privateCalendars: @"Calendar" inContext: context]; +// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D", +// [NSString stringWithFormat: @"%@personal/", [parent davURL]], +// nil]; + +// return [NSArray arrayWithObject: tag]; +// } + +// - (NSString *) davCalendarScheduleOutboxURL +// { +// NSArray *tag; +// SOGoAppointmentFolders *parent; + +// parent = [self privateCalendars: @"Calendar" inContext: context]; +// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D", +// [NSString stringWithFormat: @"%@personal/", [parent davURL]], +// nil]; + +// return [NSArray arrayWithObject: tag]; +// } + +// - (NSString *) davDropboxHomeURL +// { +// NSArray *tag; +// SOGoAppointmentFolders *parent; + +// parent = [self privateCalendars: @"Calendar" inContext: context]; +// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D", +// [NSString stringWithFormat: @"%@personal/", [parent davURL]], +// nil]; + +// return [NSArray arrayWithObject: tag]; +// } + +// - (NSString *) davNotificationsURL +// { +// NSArray *tag; +// SOGoAppointmentFolders *parent; + +// parent = [self privateCalendars: @"Calendar" inContext: context]; +// tag = [NSArray arrayWithObjects: @"href", @"DAV:", @"D", +// [NSString stringWithFormat: @"%@personal/", [parent davURL]], +// nil]; + +// return [NSArray arrayWithObject: tag]; +// } + @end /* SOGoUserFolder */