Skip to content

Commit

Permalink
[HttpFoundation] Remove not existing class member
Browse files Browse the repository at this point in the history
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
1 parent a05bfa8 commit 4515db4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Session/Storage/Proxy/SessionHandlerProxy.php
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 comments on commit 4515db4

Please sign in to comment.