xowiki::cr_thin_out (private)

 xowiki::cr_thin_out [ -doit ] [ -delete_orphans ] \
    [ -delete_sequences ] [ -edit_interval edit_interval ] \
    [ -older_than older_than ] [ -package_id package_id ] \
    [ -item_id item_id ]

Defined in packages/xowiki/tcl/xowiki-utility-procs.tcl

Delete supposedly unimportant items and revision from the content repository.

Switches:
-doit
(boolean) (defaults to "false") (optional)
if not true, then just write delete operation to the logfile
-delete_orphans
(boolean) (defaults to "false") (optional)
if true, delete orphaned items
-delete_sequences
(boolean) (defaults to "false") (optional)
if true, delete revisions from edit sequences lower than edit_interval
-edit_interval
(defaults to "300") (optional)
delete entries, which never become older than this interval (in seconds, default 300)
-older_than
(defaults to "1 month ago") (optional)
delete only entries, which were modified longer than the provided time ago
-package_id
(optional)
if specified, perform operation just on the specified package
-item_id
(optional)
if specified, perform operation just on the specified item

Partial Call Graph (max 5 caller/called nodes):
%3 xo::db::tcl_date xo::db::tcl_date (public) xowiki::cr_thin_out xowiki::cr_thin_out xowiki::cr_thin_out->xo::db::tcl_date

Testcases:
No testcase defined.
[ show source ]
Show another procedure: