From 53c04406baa5f63bbb41127f40afee0a0facadd1 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 17 Jun 2016 15:21:05 -0400 Subject: [PATCH] no need to delete --- src/Illuminate/Session/DatabaseSessionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Session/DatabaseSessionHandler.php b/src/Illuminate/Session/DatabaseSessionHandler.php index d10fb9970b8e..dbc83bb777cf 100644 --- a/src/Illuminate/Session/DatabaseSessionHandler.php +++ b/src/Illuminate/Session/DatabaseSessionHandler.php @@ -76,7 +76,7 @@ public function read($sessionId) if (isset($session->last_activity)) { if ($session->last_activity < Carbon::now()->subMinutes($this->minutes)->getTimestamp()) { - $this->destroy($sessionId); + $this->exists = true; return; }