This function deals with the topic associated to a message. It allows to retrieve or update the topic to which the message belongs.
If $topicID is not passed, the current topic ID of the message is returned. If $topicID is passed, the message is updated to point to the new topic.
License: http://opensource.org/licenses/BSD-3-Clause This file contains code covered by: copyright: 2011 Simple Machines (http://www.simplemachines.org) license: BSD, See included LICENSE.TXT for terms and conditions.
Located at sources/subs/Messages.subs.php
||= null topic ID, if null is passed the ID of the topic is retrieved and returned|
Return value summary
||int topic ID if any, or false|