mixed CSite::Delete( string id )
The method Delete deletes a site. The function returns an instance of CDBResult on success, or false otherwise.
Parameter | Description |
---|---|
id | The ID of the site to be deleted. |
<? if (CSite::Delete("ru")===false) echo "The site cannot be deleted as bound records are found."; ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |