chat_room_edit (public, deprecated)

 chat_room_edit room_id pretty_name description moderated_p active_p \
    archive_p auto_flush_p auto_transcript_p login_messages_p \
    logout_messages_p messages_time_window avatar_p

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

Deprecated. Invoking this procedure generates a warning.

Edit information on chat room. All information require.

Parameters:
room_id (required)
pretty_name (required)
description (required)
moderated_p (required)
active_p (required)
archive_p (required)
auto_flush_p (required)
auto_transcript_p (required)
login_messages_p (required)
logout_messages_p (required)
messages_time_window (required)
avatar_p (required)
See Also:
  • xo::db::chat_room

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) chat_room_edit chat_room_edit chat_room_edit->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc chat_room_edit
    set r [::xo::db::Class get_instance_from_db -id $room_id]
    foreach var {
        pretty_name
        description
        active_p
        archive_p
        auto_flush_p
        auto_transcript_p
        login_messages_p
        logout_messages_p
        messages_time_window
        avatar_p
    } {
        $r set $var [set $var]
    }
    $r save
    ns_cache flush -- chat_room_cache $room_id
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: