Bitrix Site Manager

ForumModerateMessage

bool
ForumModerateMessage(
 int MID,
 char(1) TYPE,
 &string strErrorMessage,
 &string strOKMessage
);

Publishes or hides the specified message.

Parameters

ParameterDescription
MID The ID of the message to publish or hide.
TYPE If "SHOW", the message is published.
If "HIDE", the message is hidden.
strErrorMessage On return, this variable contains description of errors, if any occurs.
strOKMessage On return, this variable contains description of the successful run.

Return Values

Returns true on success or false otherwise.