From 43555503052443964ce2c1c1f3b0378e58219eb8 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 13 Mar 2024 10:50:34 +0100 Subject: [PATCH] Revert "Make sure session is saved after changing (#1573)" (#1574) This reverts commit ce971eef36dec1ca59b25055e9ed96ed9a817396. --- src/SymfonyHttpDriver.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/SymfonyHttpDriver.php b/src/SymfonyHttpDriver.php index 9679036f2..088a5ab9f 100644 --- a/src/SymfonyHttpDriver.php +++ b/src/SymfonyHttpDriver.php @@ -51,7 +51,6 @@ public function isSessionStarted() public function setSessionValue($name, $value) { $this->session->put($name, $value); - $this->saveSession(); } /** @@ -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(); } }