room_active_status (public, deprecated)

 room_active_status room_id

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

Deprecated. Invoking this procedure generates a warning.

Get room active status.

Parameters:
room_id

See Also:
  • xo::db::chat_room

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc room_active_status used:\n[ad_get_tcl_call_stack]"

    if {[::xo::db::Class exists_in_db -id $room_id]} {
        set r [::xo::db::Class get_instance_from_db -id $room_id]
        return [string is true -strict [$r set active_p]]
    } else {
        return false
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: