Bitrix Site Manager

CLanguage::Delete

CDBResult
CLanguage::Delete(
 string id
)

The method Delete deletes language. Returns the CDBResult class instance.

Parameters

ParameterDescription
id Double-character language ID.

See Also

Example



<?
if (CLanguage::Delete("en")) 
  echo "The language has been deleted successfully.";
?>