This class has been deprecated. It's recommended to use methods of class Bitrix\Sale\Location.
bool CSaleLocation::DeleteCity( int ID );
The method DeleteCity deletes the existing city. Location to which this city is bound is not changed.
|ID||The ID of the city to be deleted.|
Returns true on success, or false otherwise.
<? if (!CSaleLocation::DeleteCity(12)) echo "Error deleting city"; ?>
© «Bitrix24», 2001-2023