calendar::apm::package_after_upgrade (private)
calendar::apm::package_after_upgrade \ -from_version_name from_version_name \ -to_version_name to_version_name
Defined in packages/calendar/tcl/apm-callback-procs.tcl
Upgrade script for the calendar package
- Switches:
- -from_version_name (required)
- -to_version_name (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: 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" } } }XQL Not present: PostgreSQL, Oracle Generic XQL file: <fullquery name="calendar::apm::package_after_upgrade.update_context"> <querytext> update acs_objects set security_inherit_p = 'f' where object_id in (select calendar_id from calendars where calendar_name = 'Personal') </querytext> </fullquery> <fullquery name="calendar::apm::package_after_upgrade.remove_personal_notifications"> <querytext> delete from notification_requests where request_id in (select request_id from notification_requests, calendars where calendar_name = 'Personal' and package_id = object_id and type_id = (select type_id from notification_types where short_name = 'calendar_notif')) </querytext> </fullquery>packages/calendar/tcl/apm-callback-procs.xql