diff options
author | sgiehl <stefan@piwik.org> | 2015-02-08 21:32:57 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-02-08 21:32:57 +0300 |
commit | 5d973bf58f523041e9f6a5c7a2e81670ef86cbf9 (patch) | |
tree | 192a918030e4d91225248715d0fe980047b493f6 /plugins | |
parent | bfd774185a5b8fdead32686de129e034f3231d69 (diff) |
removed unneeded method
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/UserSettings/UserSettings.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/UserSettings/UserSettings.php b/plugins/UserSettings/UserSettings.php index db8d2f5db3..7c90528502 100644 --- a/plugins/UserSettings/UserSettings.php +++ b/plugins/UserSettings/UserSettings.php @@ -23,7 +23,6 @@ class UserSettings extends \Piwik\Plugin public function getListHooksRegistered() { return array( - 'Metrics.getDefaultMetricTranslations' => 'addMetricTranslations', 'Request.getRenamedModuleAndAction' => 'renameDeprecatedModuleAndAction', ); } @@ -63,14 +62,4 @@ class UserSettings extends \Piwik\Plugin $module = 'DevicePlugins'; } } - - public function addMetricTranslations(&$translations) - { - $metrics = array( - 'nb_visits_percentage' => Piwik::translate('General_ColumnPercentageVisits') - ); - - $translations = array_merge($translations, $metrics); - } - } |