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 (optional, boolean, defaults to "false")
if not true, then just write delete operation to the logfile
-delete_orphans (optional, boolean, defaults to "false")
if true, delete orphaned items
-delete_sequences (optional, boolean, defaults to "false")
if true, delete revisions from edit sequences lower than edit_interval
-edit_interval (optional, defaults to "300")
delete entries, which never become older than this interval (in seconds, default 300)
-older_than (optional, defaults to "1 month ago")
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: