caldav, carddav: stop exposing home set props

These are principal properties, now handled by webdav.ServePrincipal.
This commit is contained in:
Simon Ser 2022-05-03 18:54:41 +02:00
parent c2b2f073cc
commit c7b85859a2
2 changed files with 0 additions and 8 deletions

View File

@ -261,10 +261,6 @@ func (b *backend) propfindCalendar(propfind *internal.Propfind, cal *Calendar) (
},
}, nil
},
// TODO: this is a principal property
calendarHomeSetName: func(*internal.RawXMLValue) (interface{}, error) {
return &calendarHomeSet{Href: internal.Href{Path: "/"}}, nil
},
// TODO: this should be set on all resources
internal.CurrentUserPrincipalName: func(*internal.RawXMLValue) (interface{}, error) {
return &internal.CurrentUserPrincipal{Href: internal.Href{Path: "/"}}, nil

View File

@ -360,10 +360,6 @@ func (b *backend) propfindAddressBook(propfind *internal.Propfind, ab *AddressBo
},
}, nil
},
// TODO: this is a principal property
addressBookHomeSetName: func(*internal.RawXMLValue) (interface{}, error) {
return &addressbookHomeSet{Href: internal.Href{Path: "/"}}, nil
},
// TODO: this should be set on all resources
internal.CurrentUserPrincipalName: func(*internal.RawXMLValue) (interface{}, error) {
return &internal.CurrentUserPrincipal{Href: internal.Href{Path: "/"}}, nil