Delete
CPosting::Delete( $ID );
The method Delete is used to delete an issue by its ID.
Parameters
Parameter | Description |
---|---|
$ID | The issue ID. |
Return Values
Returns an instance of the CDBResult class on success, or false otherwise.
Example
if(($res = CPosting::Delete($ID)) && $res->AffectedRowsCount() < 1 || $res == false) echo "Cannot delete the issue."; else echo "Deleted successfylly.";
© «Bitrix24», 2001-2024