• Publicity: Public Only All

calendar-install-procs.tcl

Calendar install callbacks

Location:
packages/calendar/tcl/calendar-install-procs.tcl
Created:
2004-04-01
Author:
Jeff Davis davis@xarg.net
CVS Identification:
$Id: calendar-install-procs.tcl,v 1.3 2017/08/07 23:48:05 gustafn Exp $

Procedures in this file

Detailed information

[ hide source ] | [ make this the default ]

Content File Source

ad_library {
    Calendar install callbacks

    @creation-date 2004-04-01
    @author Jeff Davis davis@xarg.net
    @cvs-id $Id: calendar-install-procs.tcl,v 1.3 2017/08/07 23:48:05 gustafn Exp $
}

namespace eval calendar::install {}

ad_proc -private calendar::install::package_install {} {
    package install callback
} {
    calendar::sc::register_implementations
}

ad_proc -private calendar::install::package_uninstall {} {
    package uninstall callback
} {
    calendar::sc::unregister_implementations
}

d_proc -private calendar::install::package_upgrade {
    {-from_version_name:required}
    {-to_version_name:required}
} {
    Package before-upgrade callback
} {
    apm_upgrade_logic \
        -from_version_name $from_version_name \
        -to_version_name $to_version_name \
        -spec {
            2.1.0d1 2.1.0d2 {
                # just need to install the cal_item callback
                calendar::sc::register_cal_item_fts_impl
            }
        }
}

# Local variables:
#    mode: tcl
#    tcl-indent-level: 4
#    indent-tabs-mode: nil
# End: