general_comments_delete_messages (public)
general_comments_delete_messages -package_id package_id
Defined in packages/general-comments/tcl/general-comments-procs.tcl
Deletes all comments belonging to specified package.
- Switches:
- -package_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xowiki_test_cases, link_tests
Source code: foreach comment_id [db_list get_comments { select comment_id from general_comments c, acs_objects o where c.comment_id = o.object_id and o.package_id = :package_id }] { content::item::delete -item_id $comment_id }Generic XQL file: packages/general-comments/tcl/general-comments-procs.xql
PostgreSQL XQL file: packages/general-comments/tcl/general-comments-procs-postgresql.xql
Oracle XQL file: packages/general-comments/tcl/general-comments-procs-oracle.xql