Delete
bool CFormStatus::Delete( int status_id, string check_rights = "Y" )
The method Delete deletes a status. Returns true on success, or false otherwise.
Note!
Statuses containing at least one result can not be deleted.
Parameters
Parameter | Description |
---|---|
status_id | The ID of the status to be deleted. |
check_rights | Flag specifying the current user access permissions should be checked. One of the following values is possible:
Optional. "Y" by default which means the permissions should be checked. |
See Also
Example
© «Bitrix24», 2001-2024