From fc4028475c9bfb0a40416a36a7014cd92823194c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 18 Nov 2023 14:08:46 +0700 Subject: [PATCH] Cleanup: Removed useless global variable (#1115) --- src/Legacy/Common/User.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Legacy/Common/User.php b/src/Legacy/Common/User.php index a0e84679c..adaa57b40 100644 --- a/src/Legacy/Common/User.php +++ b/src/Legacy/Common/User.php @@ -468,8 +468,6 @@ class User */ public function set_session_cookies($user_id) { - global $bb_cfg; - if ($user_id == GUEST_UID) { $delete_cookies = [ COOKIE_DATA,