fs::delete_version (public)
fs::delete_version -item_id item_id -version_id version_id
Defined in packages/file-storage/tcl/file-storage-procs.tcl
Deletes a revision. If it was the last revision, it deletes the file as well. Note that we do not perform filesystem operations here. A trigger on cr_revisions informs the content repository about the deletion and periodic cleanup of files to be deleted is performed in a scheduled procedure.
- Switches:
- -item_id (required)
- -version_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_add_delete_copy