Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2015-10-15 22:06:48 +0300
committersgiehl <stefan@piwik.org>2015-10-15 23:26:38 +0300
commitccefdb1d5451133709edcc468577de39a343c00a (patch)
tree49053827ef60f141f5dd262d76d4180425ed22e4 /plugins/SitesManager
parent5b64e37e82cab28cac0998910dccefd73668400e (diff)
use number format for currency in all websites dashboard
Diffstat (limited to 'plugins/SitesManager')
-rw-r--r--plugins/SitesManager/API.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SitesManager/API.php b/plugins/SitesManager/API.php
index 65d2784592..4a67c45c2c 100644
--- a/plugins/SitesManager/API.php
+++ b/plugins/SitesManager/API.php
@@ -1242,7 +1242,7 @@ class API extends \Piwik\Plugin\API
*/
public function getCurrencyList()
{
- $currencies = Formatter::getCurrencyList();
+ $currencies = Site::getCurrencyList();
return array_map(function ($a) {
return $a[1] . " (" . $a[0] . ")";
}, $currencies);
@@ -1255,7 +1255,7 @@ class API extends \Piwik\Plugin\API
*/
public function getCurrencySymbols()
{
- $currencies = Formatter::getCurrencyList();
+ $currencies = Site::getCurrencyList();
return array_map(function ($a) {
return $a[0];
}, $currencies);