Cleanup: Removed useless global variable (#1115)

This commit is contained in:
Roman Kelesidis 2023-11-18 14:08:46 +07:00 committed by GitHub
commit fc4028475c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -468,8 +468,6 @@ class User
*/ */
public function set_session_cookies($user_id) public function set_session_cookies($user_id)
{ {
global $bb_cfg;
if ($user_id == GUEST_UID) { if ($user_id == GUEST_UID) {
$delete_cookies = [ $delete_cookies = [
COOKIE_DATA, COOKIE_DATA,