Index: openacs-4/packages/calendar/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/apm-callback-procs.tcl,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/calendar/tcl/apm-callback-procs.tcl 7 Oct 2007 22:36:55 -0000 1.2 @@ -0,0 +1,38 @@ +ad_library { + + Calendar Package APM callbacks library + + Procedures that deal with installing, instantiating, mounting. + + @creation-date July 2007 + @author rmorales@innova.uned.es + @cvs-id $Id: apm-callback-procs.tcl,v 1.2 2007/10/07 22:36:55 donb Exp $ +} + +namespace eval calendar {} +namespace eval calendar::apm {} + + +ad_proc -public calendar::apm::package_after_upgrade { + -from_version_name:required + -to_version_name:required +} { + Upgrade script for the calendar package +} { + apm_upgrade_logic \ + -from_version_name $from_version_name \ + -to_version_name $to_version_name \ + -spec { + 2.1.0b7 2.1.0b8 { + db_transaction { + db_dml update_context {} + db_dml remove_personal_notifications {} + } on_error { + ns_log Error "Error:$errmsg" + } + } + } +} + + +