Bitrix Site Manager

CForumSubscribe::Delete

bool
Delete(
 int ID
);

Deletes the specified subscription. Before calling this method, you should check whether the current user can unsubscribe by calling CForumSubscribe::CanUserDeleteSubscribe.

Parameters

ParameterDescription
ID The ID of the subscription to be deleted.

Return Values

Returns true on success or false otherwise.