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 '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';
}