Documentation

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.
  • © «Bitrix24», 2001-2024