Bitrix Site Manager

CSaleLocation::DeleteCountry

bool
CSaleLocation::DeleteCountry(
  int ID
);

The method DeleteCountry deletes the country. All location bound to this country remain untouched.

Parameters

ParameterDescription
ID The ID of the country to be deleted.

Return Values

Returns true on success, or false otherwise.

Example



<?
if (!CSaleLocation::DeleteCountry(12))
   echo "Error deleting country";
?>