From b06b93fd3051a808cc9428dd979b3b02e65c8e66 Mon Sep 17 00:00:00 2001 From: Eugene Wissner Date: Fri, 20 Nov 2015 04:02:44 +0100 Subject: [PATCH] [HttpFoundation] Remove not existing class member open() and close() SessionHandlerProxy method suse $this->active that was removed from the parent AbstractProxy class after 2.8. --- .../Session/Storage/Proxy/SessionHandlerProxy.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php b/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php index 81643c74b4..c5e97d415b 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php @@ -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(); }