Bitrix Site Manager

CRubric::Delete

CRubric::Delete(
    $ID
);

The method Delete is used to delete a mailing list.

Parameters

ParameterDescription
$IDThe mailing list ID.

Return Values

Returns an instance of the CDBResult class on success, or false otherwise.

Example



if(($res = CRubric::Delete($ID)) && $res->AffectedRowsCount() < 1 || $res == false)
    echo "Error";