forum::new_questions_deny (public, deprecated)
forum::new_questions_deny -forum_id forum_id [ -party_id party_id ]
Defined in packages/forums/tcl/forums-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Deny the users to create new threads in the forum DEPRECATED: either use forum::edit or inline this trivial query.
- Switches:
- -forum_id (required)
- -party_id (optional)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc forum::new_questions_deny if { $party_id ne "" } { ad_log warning "Attribute party_id is deprecated and was ignored." } db_dml query { update forums_forums set new_questions_allowed_p = false where forum_id = :forum_id }Generic XQL file: packages/forums/tcl/forums-procs.xql
PostgreSQL XQL file: packages/forums/tcl/forums-procs-postgresql.xql
Oracle XQL file: packages/forums/tcl/forums-procs-oracle.xql