Delete
mixed CSite::Delete( string id )
The method deletes a site. The function returns an object of CDBResult on success, or false otherwise. Static method.
Parameters
Parameter | Description |
---|---|
id | Delete site ID. |
See Also
Examples of use
<? if (CSite::Delete("ru")===false) echo "The site cannot be deleted as bound records are found."; ?>
© «Bitrix24», 2001-2024
Up