xowiki::markdown_image::expire_drafts (private)
xowiki::markdown_image::expire_drafts
Defined in packages/xowiki/tcl/markdown-image-procs.tcl
Clean up private staging files, including uploads from abandoned forms.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set cutoff [expr {[clock seconds] - 86400}] foreach path [glob -nocomplain -directory [directory] -types f *] { catch { if {[file mtime $path] < $cutoff} { file delete -- $path } } }XQL Not present: Generic, PostgreSQL, Oracle