mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 21:54:00 +02:00
[ticket/13455] Update calls to request_var()
PHPBB3-13455
This commit is contained in:
@@ -88,8 +88,6 @@ if (isset($_GET['avatar']))
|
||||
|
||||
unset($dbpasswd);
|
||||
|
||||
request_var('', 0, false, false, $request);
|
||||
|
||||
/* @var $config \phpbb\config\config */
|
||||
$config = $phpbb_container->get('config');
|
||||
|
||||
@@ -103,7 +101,7 @@ if (isset($_GET['avatar']))
|
||||
/* @var $phpbb_avatar_manager \phpbb\avatar\manager */
|
||||
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
|
||||
|
||||
$filename = request_var('avatar', '');
|
||||
$filename = $request->variable('avatar', '');
|
||||
$avatar_group = false;
|
||||
$exit = false;
|
||||
|
||||
@@ -154,9 +152,9 @@ if (isset($_GET['avatar']))
|
||||
include($phpbb_root_path . 'common.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/functions_download' . '.' . $phpEx);
|
||||
|
||||
$attach_id = request_var('id', 0);
|
||||
$mode = request_var('mode', '');
|
||||
$thumbnail = request_var('t', false);
|
||||
$attach_id = $request->variable('id', 0);
|
||||
$mode = $request->variable('mode', '');
|
||||
$thumbnail = $request->variable('t', false);
|
||||
|
||||
// Start session management, do not update session page.
|
||||
$user->session_begin(false);
|
||||
|
Reference in New Issue
Block a user