From a6eceb000c2917c347fa59dcf17021f4741add32 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Mon, 11 Sep 2023 10:22:59 +0800 Subject: [PATCH] refactor: remove unneeded arguments to session --- system/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Common.php b/system/Common.php index c964e10ea899..e95b0616d8eb 100644 --- a/system/Common.php +++ b/system/Common.php @@ -499,7 +499,7 @@ function force_https( // If the session status is active, we should regenerate // the session ID for safety sake. if (ENVIRONMENT !== 'testing' && session_status() === PHP_SESSION_ACTIVE) { - Services::session(null, true)->regenerate(); // @codeCoverageIgnore + Services::session()->regenerate(); // @codeCoverageIgnore } $baseURL = config(App::class)->baseURL;