Index: openacs-4/packages/imsld/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/imsld/tcl/apm-callback-procs.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/packages/imsld/tcl/apm-callback-procs.tcl 16 May 2006 09:24:35 -0000 1.5 +++ openacs-4/packages/imsld/tcl/apm-callback-procs.tcl 19 Dec 2006 10:36:07 -0000 1.6 @@ -29,14 +29,38 @@ return 1 } +ad_proc -public imsld::apm_callback::before_uninstantiate { + -package_id:required +} { + task that must be done before uninstance the imsld package +} { + imsld::drop_imsld_package -object_id $package_id +} + +ad_proc -public imsld::apm_callback::before_unmount { + -node_id:required + -package_id:required +} { + task that must be done before unmount the imsld package +} { + + +} + ad_proc -public imsld::apm_callback::before_uninstall { } { Proc calls and tasks needed to be donde before the uninstallation of the imsld package. } { + # clean rels imsld::uninstall::delete_rels imsld::uninstall::delete_ext_rels + + #clean groups + imsld::uninstall::delete_group_types + + # clean the cr imsld::uninstall::empty_content_repository