aboutsummaryrefslogtreecommitdiff
path: root/lib/session/CacheSessionHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/session/CacheSessionHandler.php')
-rw-r--r--lib/session/CacheSessionHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/session/CacheSessionHandler.php b/lib/session/CacheSessionHandler.php
index 0418e47..78e0550 100644
--- a/lib/session/CacheSessionHandler.php
+++ b/lib/session/CacheSessionHandler.php
@@ -34,6 +34,7 @@ class CacheSessionHandler implements
if ($session_lifetime) {
$this->session_lifetime = $session_lifetime;
}
+ $this->cache = Factory::getCache();
}
public function close(): bool
@@ -55,7 +56,6 @@ class CacheSessionHandler implements
public function open(string $path, string $name): bool
{
- $this->cache = Factory::getCache();
return true;
}