Delete
bool CSocNetMessages::Delete( int id );
The method deletes message from the database. It is used to physically delete a record. Use the method [link=191232]CSocNetMessages::DeleteMessage[/link] to logically delete a message according to the algorithm of the social network module. Non-static method.
Note: when deleting a record, the following events are called: [link=191770]OnBeforeSocNetMessagesDelete[/link] and [link=191783]OnSocNetMessagesDelete[/link].
Parameters
Parameter | Description | Available from version |
---|---|---|
id | Message ID |
Returned value
Returns true on success and false otherwise.
© «Bitrix24», 2001-2024