caldav::CalDAV instproc calcCtag (public)
<instance of caldav::CalDAV> calcCtag user_id
Defined in /var/www/openacs.org/packages/caldav/tcl/caldav-procs.tcl
Generate a ctag (collection entity tag). The calendar ctag is like a resource etag; it changes when anything in the (joint) calendar has changed. This implementation returns a md5 value from the sum of the cal_item_ids, which changes when an item is deleted or a new community is joined, and the latest modification date of the cal_item_ids.
- Parameters:
- user_id (required)
- Testcases:
- macOS_subscribe