xowiki::upgrade_callback (private)

 xowiki::upgrade_callback -from_version_name from_version_name \
    -to_version_name to_version_name

Defined in packages/xowiki/tcl/xowiki-callback-procs.tcl

Callback for upgrading

Switches:
-from_version_name (required)
-to_version_name (required)
Author:
Gustaf Neumann <neumann@wu-wien.ac.at>

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) xowiki::upgrade_callback xowiki::upgrade_callback xowiki::upgrade_callback->_

Testcases:
No testcase defined.
Source code:
    ns_log notice "-- UPGRADE $from_version_name -> $to_version_name"

    set upgrade_file $::acs::rootdir/packages/xowiki/tcl/upgrade/upgrade.tcl
    #
    # The upgrade file contains the upgrade proc of the following form:
    #
    #   proc __upgrade {from_version_name to_version_name} {...}
    #
    source $upgrade_file
    __upgrade $from_version_name $to_version_name

    # The upgrade is done, there is no need to keep this proc in
    # memory around, so we can delete it.
    rename __upgrade ""
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: