[ticket/11620] Changed incorrect global variable

PHPBB3-11620
This commit is contained in:
Andy Chase 2013-07-22 15:44:22 -07:00
parent cc6147f876
commit 568de3b8ce

View file

@ -38,13 +38,13 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
// Change the global cache object for this test because // Change the global cache object for this test because
// the mock cache object does not hit the database as is // the mock cache object does not hit the database as is
// needed for this test. // needed for this test.
global $cache, $config, $phpbb_root_path, $php_ext; global $cache, $config, $phpbb_root_path, $phpEx;
$cache = new phpbb_cache_service( $cache = new phpbb_cache_service(
new phpbb_cache_driver_file(), new phpbb_cache_driver_file(),
$config, $config,
$this->db, $this->db,
$phpbb_root_path, $phpbb_root_path,
$php_ext $phpEx
); );
try try