aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2017-04-18 23:10:13 +0200
committerTristan Darricau <github@nicofuma.fr>2017-04-18 23:10:13 +0200
commit2d33b6adc69db9deec9f7fc58f92c59f6f8525bd (patch)
treeedd13cdc259de3c7ddfd33ea937b439817138a1f
parent8303058ac613c1699b51a647b29b97f754fdf6a6 (diff)
parent18eaf10e5a04032306fdbe5caabdd29bc8c4f1f9 (diff)
downloadforums-2d33b6adc69db9deec9f7fc58f92c59f6f8525bd.tar
forums-2d33b6adc69db9deec9f7fc58f92c59f6f8525bd.tar.gz
forums-2d33b6adc69db9deec9f7fc58f92c59f6f8525bd.tar.bz2
forums-2d33b6adc69db9deec9f7fc58f92c59f6f8525bd.tar.xz
forums-2d33b6adc69db9deec9f7fc58f92c59f6f8525bd.zip
Merge pull request #4718 from javiexin/ticket/15108
[ticket/15108] Remove duplicate code in request->overwrite * github.com:phpbb/phpbb: [ticket/15108] Remove duplicate code in request->context
-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;
- }
}
/**