# m_delete_topic

# Function

Function Name Description Level
m_delete_topic

Input Parameters:

Name Type Required? Description Level
topic_id String yes
mode Int yes "1" = soft-delete a topic. "2" = hard-delete a topic. If a particular forum system does not support soft-delete, always perform a hard delete.
reason_text byte[] This option allows user to insert the reason of deletion.

Output Parameters:

Name Type Required? Description Level
result Boolean return true if the action is executed successfully.
result_text byte[] Reason of the failure, if any.
is_login_mod Boolean yes return true if user need to re-authenticate with login_mod function again before proceeding.