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-01-13 01:13:14 +0300
committersgiehl <stefan@piwik.org>2015-01-13 01:13:14 +0300
commita0ce768662bea281f88fb64b90a9fca4d668fd41 (patch)
tree17fd24f16111dc61fd04d4f4d63b950d97b7e4c3 /plugins/UserSettings/UserSettings.php
parente2b9956e4bd92ca9e234d10d527be9e8caf2b68f (diff)
refs #3962 - moved language reports to their own plugin
Diffstat (limited to 'plugins/UserSettings/UserSettings.php')
-rw-r--r--plugins/UserSettings/UserSettings.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/UserSettings/UserSettings.php b/plugins/UserSettings/UserSettings.php
index cb034c7d94..db8d2f5db3 100644
--- a/plugins/UserSettings/UserSettings.php
+++ b/plugins/UserSettings/UserSettings.php
@@ -55,6 +55,10 @@ class UserSettings extends \Piwik\Plugin
$module = 'Resolution';
}
+ if ($module == 'UserSettings' && ($action == 'getLanguage' || $action == 'getLanguageCode')) {
+ $module = 'UserLanguage';
+ }
+
if ($module == 'UserSettings' && $action == 'getPlugin') {
$module = 'DevicePlugins';
}