]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1303 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 17 Dec 2007 15:01:53 +0000 (15:01 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Mon, 17 Dec 2007 15:01:53 +0000 (15:01 +0000)
SoObjects/SOGo/SOGoUserFolder.m

index 68bcfcd4c022cf18cbc28dbdb718401b9c4aae17..b034c311fdfd2938f1e2578b053b1a8914197fae 100644 (file)
          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 */