From 18eaf10e5a04032306fdbe5caabdd29bc8c4f1f9 Mon Sep 17 00:00:00 2001 From: javiexin Date: Thu, 2 Mar 2017 15:51:51 +0100 Subject: [ticket/15108] Remove duplicate code in request->context PHPBB3-15108 --- phpBB/phpbb/request/request.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'phpBB/phpbb/request/request.php') diff --git a/phpBB/phpbb/request/request.php b/phpBB/phpbb/request/request.php index 4cac6fbaea..00ff9064cb 100644 --- a/phpBB/phpbb/request/request.php +++ b/phpBB/phpbb/request/request.php @@ -169,12 +169,6 @@ class request implements \phpbb\request\request_interface $GLOBALS[$this->super_globals[$super_global]][$var_name] = $value; } } - - if (!$this->super_globals_disabled()) - { - unset($GLOBALS[$this->super_globals[$super_global]][$var_name]); - $GLOBALS[$this->super_globals[$super_global]][$var_name] = $value; - } } /** -- cgit v1.2.1