Bitrix Site Manager

CCurrency::Delete

bool
CCurrency::Delete(
 string currency
);

The method Delete is used to delete a currency by its identifier. All the exchange rates for this currency and language dependent properties are deleted as well.

Parameters

ParameterDescription
currency The currency ID.

Return Values

The function returns true on success, or false otherwise.

Example


<?
CCurrency::Delete("USD");
?>