[ticket/15108] Remove duplicate code in request->context

PHPBB3-15108
This commit is contained in:
javiexin 2017-03-02 15:51:51 +01:00
parent 3322117c38
commit 18eaf10e5a

View file

@ -169,12 +169,6 @@ class request implements \phpbb\request\request_interface
$GLOBALS[$this->super_globals[$super_global]][$var_name] = $value; $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;
}
} }
/** /**