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,