Bitrix Site Manager

CForumMessage::Delete

bool
Delete(
 int ID
);

The method Delete deletes a specified message.

Parameters

ParameterDescription
ID The ID of the message to be deleted.

Return Values

Returns true on success, or false otherwise.

See Also

  • Before a message is deleted, you should check whether it can be deleted using CForumMessage::CanUserDeleteMessage.