bug #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
This commit is contained in:
commit
06959c045d
@ -42,13 +42,7 @@ class SessionHandlerProxy extends AbstractProxy implements \SessionHandlerInterf
|
|||||||
*/
|
*/
|
||||||
public function open($savePath, $sessionName)
|
public function open($savePath, $sessionName)
|
||||||
{
|
{
|
||||||
$return = (bool) $this->handler->open($savePath, $sessionName);
|
return (bool) $this->handler->open($savePath, $sessionName);
|
||||||
|
|
||||||
if (true === $return) {
|
|
||||||
$this->active = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -56,8 +50,6 @@ class SessionHandlerProxy extends AbstractProxy implements \SessionHandlerInterf
|
|||||||
*/
|
*/
|
||||||
public function close()
|
public function close()
|
||||||
{
|
{
|
||||||
$this->active = false;
|
|
||||||
|
|
||||||
return (bool) $this->handler->close();
|
return (bool) $this->handler->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user