Change the CALENDAR-HOME-SET property to be the parent of any calendars.

This commit is contained in:
Andrew McMillan 2007-10-30 10:22:33 +13:00
parent 85707c9eba
commit 5ad40f969a

View File

@ -156,7 +156,7 @@ class CalDAVRequest
*/
$this->UserFromPath();
$this->principal->url = sprintf( "%s/%s/", $c->protocol_server_port_script, $this->principal->username);
$this->principal->calendar_home_set = sprintf( "%s%s/", $this->principal->url, $c->home_calendar_name);
$this->principal->calendar_home_set = sprintf( "%s", $this->principal->url);
$this->principal->schedule_inbox_url = sprintf( "%s.inbox/", $this->principal->url);
$this->principal->schedule_outbox_url = sprintf( "%s.outbox/", $this->principal->url);