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:44:53 +0300
committerThomas Steur <thomas.steur@googlemail.com>2014-12-17 00:44:53 +0300
commit61e80b6bedcb018c5e7f8c990013ccad2b25f668 (patch)
tree5d73865ff142caae0dd004914eb9f37a2c4978b4
parent1634607051341f6d348404cd4bc478cf2474a259 (diff)
getEageCache does not expect a parameter anymore, idSite was already converted to int
-rw-r--r--core/Plugin.php2
-rw-r--r--core/Tracker/Cache.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Plugin.php b/core/Plugin.php
index 75ebb5a021..fdef9f5dc8 100644
--- a/core/Plugin.php
+++ b/core/Plugin.php
@@ -131,7 +131,7 @@ class Plugin
$this->pluginName = $pluginName;
$cacheId = 'Plugin' . $pluginName . 'Metadata';
- $cache = Cache::getEagerCache($cacheId);
+ $cache = Cache::getEagerCache();
if ($cache->contains($cacheId)) {
$this->pluginInformation = $cache->fetch($cacheId);
diff --git a/core/Tracker/Cache.php b/core/Tracker/Cache.php
index a29427fd8b..3fa360986e 100644
--- a/core/Tracker/Cache.php
+++ b/core/Tracker/Cache.php
@@ -66,7 +66,7 @@ class Cache
}
$cache = self::getCache();
- $cacheId = (int) $idSite;
+ $cacheId = $idSite;
$cacheContent = $cache->fetch($cacheId);
if (false !== $cacheContent) {