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:
authorThomas Steur <thomas.steur@googlemail.com>2014-12-17 00:25:51 +0300
committerThomas Steur <thomas.steur@googlemail.com>2014-12-17 00:25:51 +0300
commit1634607051341f6d348404cd4bc478cf2474a259 (patch)
tree8893897d8cdb2b5313a3a2f3f6fac39ce1b56755 /plugins/API/Menu.php
parentc0f24c160ab2f573a06146c66fa7fc7bab97a3a7 (diff)
added support for different caching backends such as redis
Diffstat (limited to 'plugins/API/Menu.php')
-rw-r--r--plugins/API/Menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/Menu.php b/plugins/API/Menu.php
index b01c686ac0..a0f71ddf54 100644
--- a/plugins/API/Menu.php
+++ b/plugins/API/Menu.php
@@ -43,7 +43,7 @@ class Menu extends \Piwik\Plugin\Menu
}
$ua = new OperatingSystem($_SERVER['HTTP_USER_AGENT']);
- $ua->setCache(new DeviceDetectorCache('tracker', 86400));
+ $ua->setCache(new DeviceDetectorCache(86400));
$parsedOS = $ua->parse();
if (!empty($parsedOS['short_name']) && in_array($parsedOS['short_name'], array(self::DD_SHORT_NAME_ANDROID, self::DD_SHORT_NAME_IOS))) {