forum::markdown_image::discard_attached_draft (private)

 forum::markdown_image::discard_attached_draft message_id uuid path

Defined in packages/forums/tcl/markdown-image-procs.tcl

Remove a staged image only when its message attachment has committed.

Parameters:
message_id (required)
uuid (required)
path (required)

Partial Call Graph (max 5 caller/called nodes):
forum::markdown_image::attachment forum::markdown_image::attachment (private) forum::markdown_image::discard_attached_draft forum::markdown_image::discard_attached_draft forum::markdown_image::discard_attached_draft->forum::markdown_image::attachment

Testcases:
No testcase defined.
Source code:
    if {[attachment $message_id $uuid] ne ""} {
        file delete -- $path
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: