Skip to content

Commit

Permalink
Revert "Make sure session is saved after changing (#1573)" (#1574)
Browse files Browse the repository at this point in the history
This reverts commit ce971ee.
  • Loading branch information
barryvdh committed Mar 13, 2024
1 parent ce971ee commit 4355550
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/SymfonyHttpDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public function isSessionStarted()
public function setSessionValue($name, $value)
{
$this->session->put($name, $value);
$this->saveSession();
}

/**
Expand All @@ -76,12 +75,5 @@ public function getSessionValue($name)
public function deleteSessionValue($name)
{
$this->session->remove($name);
$this->saveSession();
}

protected function saveSession()
{
$this->session->reflash();
$this->session->save();
}
}

0 comments on commit 4355550

Please sign in to comment.