From c23bff3e2ead46dd43533a6d54788c63fa14bced Mon Sep 17 00:00:00 2001
From: Stefan Giehl <stefan.giehl@mayflower.de>
Date: Wed, 26 Nov 2014 09:58:37 +0100
Subject: [PATCH] refs #3962 - BC for UserSettings.getWideScreen widgetize url

---
 plugins/UserSettings/UserSettings.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/plugins/UserSettings/UserSettings.php b/plugins/UserSettings/UserSettings.php
index 450a2f275c..d36ce093b6 100644
--- a/plugins/UserSettings/UserSettings.php
+++ b/plugins/UserSettings/UserSettings.php
@@ -52,6 +52,10 @@ class UserSettings extends \Piwik\Plugin
             $module = 'DevicesDetection';
             $action = $movedMethods[$action];
         }
+        
+        if ($module == 'UserSettings' && $action == 'getWideScreen') {
+            $action = 'getScreenType';
+        }
     }
 
     public function extendVisitorDetails(&$visitor, $details)
-- 
GitLab