From 6a8f110b5a28338ac4e48e75c763ea7435192cc7 Mon Sep 17 00:00:00 2001 From: Nathan Guse Date: Wed, 5 Mar 2014 19:00:11 -0600 Subject: [ticket/9871] Use $request->variable instead of request_var PHPBB3-9871 --- phpBB/includes/acp/acp_update.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/acp/acp_update.php') diff --git a/phpBB/includes/acp/acp_update.php b/phpBB/includes/acp/acp_update.php index e8f5c6f288..e50409bd37 100644 --- a/phpBB/includes/acp/acp_update.php +++ b/phpBB/includes/acp/acp_update.php @@ -24,7 +24,7 @@ class acp_update function main($id, $mode) { - global $config, $user, $template; + global $config, $user, $template, $request; global $phpbb_root_path, $phpEx, $phpbb_container; $user->add_lang('install'); @@ -35,7 +35,7 @@ class acp_update $version_helper = $phpbb_container->get('version_helper'); try { - $recheck = request_var('versioncheck_force', false); + $recheck = $request->variable('versioncheck_force', false); $updates_available = $version_helper->get_suggested_updates($recheck); } catch (\RuntimeException $e) -- cgit v1.2.1