fs::before_unmount (private)

 fs::before_unmount -package_id package_id -node_id node_id

Defined in packages/file-storage/tcl/file-storage-procs.tcl

Unregister the root WebDAV folder mapping before unmounting a file storage package instance.

Switches:
-package_id (required)
-node_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_package_installed_p apm_package_installed_p (public) fs::get_root_folder fs::get_root_folder (public) oacs_dav::unregister_folder oacs_dav::unregister_folder (public) fs::before_unmount fs::before_unmount fs::before_unmount->apm_package_installed_p fs::before_unmount->fs::get_root_folder fs::before_unmount->oacs_dav::unregister_folder

Testcases:
No testcase defined.
Source code:
    set folder_id [fs::get_root_folder -package_id $package_id]

    if {[apm_package_installed_p oacs-dav]} {
        oacs_dav::unregister_folder $folder_id $node_id
    }
Generic XQL file:
packages/file-storage/tcl/file-storage-procs.xql

PostgreSQL XQL file:
packages/file-storage/tcl/file-storage-procs-postgresql.xql

Oracle XQL file:
packages/file-storage/tcl/file-storage-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: