diff options
author | sgiehl <stefan@piwik.org> | 2014-11-16 02:02:55 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-11-16 02:02:55 +0300 |
commit | a05d4df3745fa8e8533f1493d97494b5d73b4e8e (patch) | |
tree | fe0888ff0b5d7e23a430e3fb0f7759a448586619 /plugins/DevicesDetection/functions.php | |
parent | 170e5e3a3771c9b29754a051bc4f1ba61413a63a (diff) |
completely removed short os name as it is useless
Diffstat (limited to 'plugins/DevicesDetection/functions.php')
-rw-r--r-- | plugins/DevicesDetection/functions.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/DevicesDetection/functions.php b/plugins/DevicesDetection/functions.php index 7a797d42a1..cb4c109b22 100644 --- a/plugins/DevicesDetection/functions.php +++ b/plugins/DevicesDetection/functions.php @@ -217,38 +217,6 @@ function getOsFullName($label) return Piwik::translate('General_Unknown'); } -function getOsShortName($label) -{ - $shortNameMapping = array( - 'PS3' => 'PS3', - 'PSP' => 'PSP', - 'WII' => 'Wii', - 'WIU' => 'Wii U', - 'NDS' => 'DS', - 'DSI' => 'DSi', - '3DS' => '3DS', - 'PSV' => 'PS Vita', - 'WI8' => 'Win 8', - 'WI7' => 'Win 7', - 'WVI' => 'Win Vista', - 'WS3' => 'Win S2003', - 'WXP' => 'Win XP', - 'W98' => 'Win 98', - 'W2K' => 'Win 2000', - 'WNT' => 'Win NT', - 'WME' => 'Win Me', - 'W95' => 'Win 95', - 'WPH' => 'WinPhone', - 'WMO' => 'WinMo', - 'WCE' => 'Win CE', - 'WOS' => 'webOS', - ); - if (array_key_exists($label, $shortNameMapping)) { - return $shortNameMapping[$label]; - } - return getOsFullName($label); -} - /** * Returns the path to the logo for the given OS * |