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:
Diffstat (limited to 'core/DataTable/Renderer.php')
-rw-r--r--core/DataTable/Renderer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/DataTable/Renderer.php b/core/DataTable/Renderer.php
index c8f353a64e..68fcf88fe5 100644
--- a/core/DataTable/Renderer.php
+++ b/core/DataTable/Renderer.php
@@ -8,6 +8,7 @@
* @category Piwik
* @package Piwik
*/
+use Piwik\Metrics;
use Piwik\Piwik;
/**
@@ -265,7 +266,7 @@ abstract class Piwik_DataTable_Renderer
return $names;
}
- $t = Piwik_Metrics::getDefaultMetricTranslations();
+ $t = Metrics::getDefaultMetricTranslations();
foreach (array('metrics', 'processedMetrics', 'metricsGoal', 'processedMetricsGoal') as $index) {
if (isset($meta[$index]) && is_array($meta[$index])) {
$t = array_merge($t, $meta[$index]);