mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 04:24:56 +02:00
[ticket/11620] Changed incorrect global variable
PHPBB3-11620
This commit is contained in:
parent
cc6147f876
commit
568de3b8ce
@ -38,13 +38,13 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
|
||||
// Change the global cache object for this test because
|
||||
// the mock cache object does not hit the database as is
|
||||
// needed for this test.
|
||||
global $cache, $config, $phpbb_root_path, $php_ext;
|
||||
global $cache, $config, $phpbb_root_path, $phpEx;
|
||||
$cache = new phpbb_cache_service(
|
||||
new phpbb_cache_driver_file(),
|
||||
$config,
|
||||
$this->db,
|
||||
$phpbb_root_path,
|
||||
$php_ext
|
||||
$phpEx
|
||||
);
|
||||
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user