1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/13455] Update calls to request_var()

PHPBB3-13455
This commit is contained in:
Gaëtan Muller
2015-01-04 20:41:04 +01:00
parent 284aa8c496
commit f6e06da4c6
93 changed files with 1052 additions and 1059 deletions

View File

@@ -42,8 +42,8 @@ $posts_per_topic = 500;
// general vars
$mode = request_var('mode', 'generate');
$start = request_var('start', 0);
$mode = $request->variable('mode', 'generate');
$start = $request->variable('start', 0);
switch ($mode)
{

View File

@@ -29,7 +29,7 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1);
$phpbb_root_path='./../';
include($phpbb_root_path . 'common.'.$phpEx);
$mode = request_var('mode', '');
$mode = $request->variable('mode', '');
$modules = find_modules($phpbb_root_path . 'language/en');

View File

@@ -19,7 +19,7 @@ $user->session_begin();
$auth->acl($user->data);
$user->setup();
$start = request_var('start', 0);
$start = $request->variable('start', 0);
$num_items = 1000;
echo '<br />Updating user email hashes' . "\n";