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:
authormattab <matthieu.aubry@gmail.com>2014-04-09 06:51:08 +0400
committermattab <matthieu.aubry@gmail.com>2014-04-09 06:51:08 +0400
commit50da9c7852080d6d6cc056dbf7030469f7e11b3a (patch)
tree17607d4d85b146961f7c466ac93f738d7a8d03ec /core/Metrics.php
parent1a1c827d96fd74fde4ca67f7c7cf1feada6b9997 (diff)
Fix build
Diffstat (limited to 'core/Metrics.php')
-rw-r--r--core/Metrics.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Metrics.php b/core/Metrics.php
index c96670b938..e102ec4601 100644
--- a/core/Metrics.php
+++ b/core/Metrics.php
@@ -242,8 +242,6 @@ class Metrics
'exit_rate' => 'General_ColumnExitRate',
);
- $translations = array_map(array('\\Piwik\\Piwik','translate'), $translations);
-
$dailySum = ' (' . Piwik::translate('General_DailySum') . ')';
$afterEntry = ' ' . Piwik::translate('General_AfterEntry');
@@ -262,6 +260,8 @@ class Metrics
*/
Piwik::postEvent('Metrics.getDefaultMetricTranslations', array(&$translations));
+ $translations = array_map(array('\\Piwik\\Piwik','translate'), $translations);
+
return $translations;
}