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>2014-12-09 00:50:44 +0300
committersgiehl <stefan@piwik.org>2014-12-09 00:50:44 +0300
commite7325c72565a92cc7ff6c6eabdbff885d9158f97 (patch)
treea72b385e75d835c2c916510f519c31ba6393831d /plugins/UserSettings/functions.php
parentd974ea9bbb567b860a17c5267c04cee3613ae6dd (diff)
moved resolution and configuration reports to a new plugin
Diffstat (limited to 'plugins/UserSettings/functions.php')
-rw-r--r--plugins/UserSettings/functions.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/UserSettings/functions.php b/plugins/UserSettings/functions.php
index eaab5557c7..c50e84146e 100644
--- a/plugins/UserSettings/functions.php
+++ b/plugins/UserSettings/functions.php
@@ -20,23 +20,6 @@ function getPluginsLogo($oldLabel)
return 'plugins/UserSettings/images/plugins/' . $oldLabel . '.gif';
}
-function getConfigurationLabel($str)
-{
- if (strpos($str, ';') === false) {
- return $str;
- }
- $values = explode(";", $str);
-
- $os = \Piwik\Plugins\DevicesDetection\getOsFullName($values[0]);
- $name = $values[1];
- $browser = \Piwik\Plugins\DevicesDetection\getBrowserName($name);
- if ($browser === false) {
- $browser = Piwik::translate('General_Unknown');
- }
- $resolution = $values[2];
- return $os . " / " . $browser . " / " . $resolution;
-}
-
/**
* Returns the given language code to translated language name
*