mirror of
https://github.com/Findus23/plugin-ClassicCounter.git
synced 2024-09-19 15:23:45 +02:00
fix cache not being used
This commit is contained in:
parent
196377a85a
commit
d59c486c2a
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class Controller extends \Piwik\Plugin\Controller
|
|||
}
|
||||
$cache = Cache::getLazyCache();
|
||||
$cacheKey = "ClassicCounter_Data_" . $idSite;
|
||||
if ($cache->contains($cacheKey) && false) {
|
||||
if ($cache->contains($cacheKey)) {
|
||||
$visitData = $cache->fetch($cacheKey);
|
||||
} else {
|
||||
$visitData = ClassicCounter::getVisitorData($idSite);
|
||||
|
|
Loading…
Reference in a new issue