Lumped all the different view-pages' query into one thus drastically slashing the amount of code that looks subtly different but effectively always retrieves calendar items for a particular interval.
The date format string is constant - it is always the ANSI date format. There is no need to create a variable in TCL and then pass it on as a bind variable to the database. Instead I have hard-wired the format string into the database which means less code and maybe even slightly more efficiency.
removed unused proc calendar_public_premoved proc calendar_update which did exactly the same as rename - but wasn't that aptly namedmoved calendar_get_name into calendar namespaceremoved queries that were duplicated both in tcl and in xql files.removed obviously unnecessary comments
Removing unused files. The calendar admin interface was completely broken and replaced during the Hamburg bug bash (kudos to Lars). Most of the code in the removed files basically duplicated OpenACS code from somewhere else. Now that calendar is making proper use of OpenACS this stuff is a) not necessary anymore and b) has never worked anyway.