forum::new_questions_allowed_p (public, deprecated)

 forum::new_questions_allowed_p -forum_id forum_id \
    [ -party_id party_id ]

Defined in packages/forums/tcl/forums-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Check if the users can create new threads in the forum DEPRECATED: the forum::get api already retrieves this information and there is normally no need to invoke this api specifically.

Switches:
-forum_id
(required)
-party_id
(optional)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log ad_log (public) ad_log_deprecated ad_log_deprecated (public) forum::get forum::get (public) forum::new_questions_allowed_p forum::new_questions_allowed_p forum::new_questions_allowed_p->ad_log forum::new_questions_allowed_p->ad_log_deprecated forum::new_questions_allowed_p->forum::get

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc forum::new_questions_allowed_p
    if { $party_id ne "" } {
        ad_log warning "Attribute party_id is deprecated and was ignored."
    }

    forum::get -forum_id $forum_id -array forum
    return $forum(new_questions_allowed_p)
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

[ hide source ] | [ make this the default ]
Show another procedure: