Skip to content

Commit b06b93f

Browse files
committed
[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.
1 parent dba51b4 commit b06b93f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php

+1-9
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,14 @@ public function __construct(\SessionHandlerInterface $handler)
4242
*/
4343
public function open($savePath, $sessionName)
4444
{
45-
$return = (bool) $this->handler->open($savePath, $sessionName);
46-
47-
if (true === $return) {
48-
$this->active = true;
49-
}
50-
51-
return $return;
45+
return (bool) $this->handler->open($savePath, $sessionName);
5246
}
5347

5448
/**
5549
* {@inheritdoc}
5650
*/
5751
public function close()
5852
{
59-
$this->active = false;
60-
6153
return (bool) $this->handler->close();
6254
}
6355

0 commit comments

Comments
 (0)