From 101f7b3ccd87376820e57d70b3c3a9b40acc9737 Mon Sep 17 00:00:00 2001 From: acidvertigo Date: Sun, 7 Sep 2014 22:15:41 +0200 Subject: [PATCH] Remove obsolete euro currency conversion As it is no more needed in 2014. --- catalog/admin/includes/classes/currencies.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/catalog/admin/includes/classes/currencies.php b/catalog/admin/includes/classes/currencies.php index 06cb6975f..230c4ea7c 100644 --- a/catalog/admin/includes/classes/currencies.php +++ b/catalog/admin/includes/classes/currencies.php @@ -36,11 +36,6 @@ function format($number, $calculate_currency_value = true, $currency_type = DEFA if ($calculate_currency_value) { $rate = ($currency_value) ? $currency_value : $this->currencies[$currency_type]['value']; $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format($number * $rate, $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; -// if the selected currency is in the european euro-conversion and the default currency is euro, -// the currency will displayed in the national currency and euro currency - if ( (DEFAULT_CURRENCY == 'EUR') && ($currency_type == 'DEM' || $currency_type == 'BEF' || $currency_type == 'LUF' || $currency_type == 'ESP' || $currency_type == 'FRF' || $currency_type == 'IEP' || $currency_type == 'ITL' || $currency_type == 'NLG' || $currency_type == 'ATS' || $currency_type == 'PTE' || $currency_type == 'FIM' || $currency_type == 'GRD') ) { - $format_string .= ' [' . $this->format($number, true, 'EUR') . ']'; - } } else { $format_string = $this->currencies[$currency_type]['symbol_left'] . number_format($number, $this->currencies[$currency_type]['decimal_places'], $this->currencies[$currency_type]['decimal_point'], $this->currencies[$currency_type]['thousands_point']) . $this->currencies[$currency_type]['symbol_right']; }