subsite::before_upgrade (private)
subsite::before_upgrade -from_version_name from_version_name \ -to_version_name to_version_name
Defined in packages/acs-subsite/tcl/apm-callback-procs.tcl
Handles upgrade
- 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 { 5.0d3 5.0d4 { array set main_site [site_node::get -url /] set main_site_id $main_site(package_id) # Move parameter values from subsite to kernel parameter::set_value -package_id [ad_acs_kernel_id] -parameter ApprovalExpirationDays -value [parameter::get -package_id $main_site_id -parameter ApprovalExpirationDays -default 0] parameter::set_value -package_id [ad_acs_kernel_id] -parameter PasswordExpirationDays -value [parameter::get -package_id $main_site_id -parameter PasswordExpirationDays -default 0] apm_parameter_unregister -package_key acs-subsite -parameter ApprovalExpirationDays {} apm_parameter_unregister -package_key acs-subsite -parameter PasswordExpirationDays {} } }XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-subsite/tcl/apm-callback-procs.xql