update_user_unified_topics db user_idWhat it does:
Update the topics in bboard_unified for a userDefined in: /web/philip/tcl/bboard-unified.tcl
Source code:
ns_db dml $db " INSERT INTO bboard_unified (user_id, topic_id, default_topic_p, color, icon_id) SELECT $user_id, topic_id, default_topic_p, color, icon_id FROM bboard_topics WHERE topic_id NOT IN (SELECT topic_id FROM bboard_unified WHERE user_id = $user_id) " scrub_access_to_unified_topics $db $user_id