attachments::image::expire (private)
attachments::image::expire
Defined in packages/attachments/tcl/image-procs.tcl
Remove disposable variants after seven days; originals remain in the CR.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set cutoff [expr {[clock seconds] - 7 * 86400}] foreach path [glob -nocomplain -directory [directory] -types f *] { catch { if {[file mtime $path] < $cutoff} { file delete -- $path } } }XQL Not present: Generic, PostgreSQL, Oracle