mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[feature/class-prefix] Rename user and session to phpbb_*
PHPBB-10609
This commit is contained in:
@@ -41,13 +41,13 @@ abstract class phpbb_security_test_base extends phpbb_test_case
|
||||
$request = new phpbb_mock_request(array(), array(), array(), $server);
|
||||
|
||||
// Set no user and trick a bit to circumvent errors
|
||||
$user = new user();
|
||||
$user = new phpbb_user();
|
||||
$user->lang = true;
|
||||
$user->browser = $server['HTTP_USER_AGENT'];
|
||||
$user->referer = '';
|
||||
$user->forwarded_for = '';
|
||||
$user->host = $server['HTTP_HOST'];
|
||||
$user->page = session::extract_current_page($phpbb_root_path);
|
||||
$user->page = phpbb_session::extract_current_page($phpbb_root_path);
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
|
Reference in New Issue
Block a user