mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 03:30:17 +02:00
[feature/request-class] Convert any direct access to $_* to use $request
PHPBB3-9716
This commit is contained in:
@@ -586,6 +586,7 @@ class install_convert extends module
|
||||
{
|
||||
global $template, $user, $phpbb_root_path, $phpEx, $db, $lang, $config, $cache;
|
||||
global $convert, $convert_row, $message_parser, $skip_rows, $language;
|
||||
global $request;
|
||||
|
||||
require($phpbb_root_path . 'config.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/constants.' . $phpEx);
|
||||
@@ -812,7 +813,7 @@ class install_convert extends module
|
||||
|
||||
if (!$current_table && !$skip_rows)
|
||||
{
|
||||
if (empty($_REQUEST['confirm']))
|
||||
if (!$request->variable('confirm', false))
|
||||
{
|
||||
// If avatars / ranks / smilies folders are specified make sure they are writable
|
||||
$bad_folders = array();
|
||||
@@ -973,7 +974,7 @@ class install_convert extends module
|
||||
));
|
||||
|
||||
return;
|
||||
} // if (empty($_REQUEST['confirm']))
|
||||
} // if (!$request->variable('confirm', false)))
|
||||
|
||||
$template->assign_block_vars('checks', array(
|
||||
'S_LEGEND' => true,
|
||||
|
Reference in New Issue
Block a user