Different code paths for storing collections
This has slightly done my head in today. There are three code paths for storing resources:
- caldav-PUT-functions.php
- import_calendar_collection (mass upload of an ICS file)
- write_resource
- WritableCollection.php
- WriteCalendarMember
They are mostly the same. This is madness, there should be only one!