8000 [HttpFoundation] Delete not existing session handler proxy member by belka-ew · Pull Request #16607 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpFoundation] Delete not existing session handler proxy member #16607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[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.
  • Loading branch information
belka-ew committed Nov 20, 2015
commit b06b93fd3051a808cc9428dd979b3b02e65c8e66
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,14 @@ public function __construct(\SessionHandlerInterface $handler)
*/
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);
}

/**
* {@inheritdoc}
*/
public function close()
{
$this->active = false;

return (bool) $this->handler->close();
}

Expand Down
0