Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / http-foundation / Session / Storage / Proxy / SessionHandlerProxy.php
index 81643c74b400105468522a4e4f6cb2eaefa924bd..c5e97d415bbe22475b100a8e351c6436d89a8427 100644 (file)
@@ -42,13 +42,7 @@ class SessionHandlerProxy extends AbstractProxy implements \SessionHandlerInterf
      */
     public function open($savePath, $sessionName)
     {
-        $return = (bool) $this->handler->open($savePath, $sessionName);
-
-        if (true === $return) {
-            $this->active = true;
-        }
-
-        return $return;
+        return (bool) $this->handler->open($savePath, $sessionName);
     }
 
     /**
@@ -56,8 +50,6 @@ class SessionHandlerProxy extends AbstractProxy implements \SessionHandlerInterf
      */
     public function close()
     {
-        $this->active = false;
-
         return (bool) $this->handler->close();
     }