From a0ce768662bea281f88fb64b90a9fca4d668fd41 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Mon, 12 Jan 2015 23:13:14 +0100 Subject: refs #3962 - moved language reports to their own plugin --- plugins/UserSettings/UserSettings.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/UserSettings/UserSettings.php') 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'; } -- cgit v1.2.3