Skip to content

Commit 06959c0

Browse files
committed
bug symfony#16607 [HttpFoundation] Delete not existing session handler proxy member (belka-ew)
This PR was merged into the 3.0-dev branch. Discussion ---------- [HttpFoundation] Delete not existing session handler proxy member | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | open() and close() SessionHandlerProxy method suse $this->active that was removed from the parent AbstractProxy class after 2.8. Commits ------- b06b93f [HttpFoundation] Remove not existing class member
2 parents 4d2ea16 + b06b93f commit 06959c0

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)