Bitrix Site Manager

Delete

bool
Delete(
 int ID
);

The method Delete deletes a specified topic.

Parameters

ParameterDescription
ID The ID of the topic 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 CForumTopic::CanUserDeleteTopic.