aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2017-03-02 15:51:51 +0100
committerjaviexin <javiexin@gmail.com>2017-03-02 15:51:51 +0100
commit18eaf10e5a04032306fdbe5caabdd29bc8c4f1f9 (patch)
tree619b9a1d30e1d339da9aedd072251f9a2e65b769 /phpBB/phpbb/request/request.php
parentMerge pull request #4559 from javiexin/ticket/14890 (diff)
downloadphpbb-18eaf10e5a04032306fdbe5caabdd29bc8c4f1f9.tar.gz
phpbb-18eaf10e5a04032306fdbe5caabdd29bc8c4f1f9.tar.bz2
phpbb-18eaf10e5a04032306fdbe5caabdd29bc8c4f1f9.zip
[ticket/15108] Remove duplicate code in request->context
PHPBB3-15108
Diffstat (limited to 'phpBB/phpbb/request/request.php')
-rw-r--r--phpBB/phpbb/request/request.php6
1 files changed, 0 insertions, 6 deletions
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;
- }
}
/**