DeleteCountry
This class has been deprecated. It's recommended to use methods of class Bitrix\Sale\Location.
bool CSaleLocation::DeleteCountry( int ID );
The method DeleteCountry deletes the country. All location bound to this country remain untouched.
Parameters
Parameter | Description |
---|---|
ID | The ID of the country to be deleted. |
Returned values
Returns true on success, or false otherwise.
Example
<? if (!CSaleLocation::DeleteCountry(12)) echo "Error deleting country"; ?>
© «Bitrix24», 2001-2024