mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 20:44:01 +01:00
Merge pull request #4060 from rxu/ticket/14340
[ticket/14340] Revert fix for segmentation fault error on phpBB 3.2 PHP7 tests * rxu/ticket/14340: [ticket/14340] Revert fix for segmentation fault error on phpBB 3.2 PHP7 tests
This commit is contained in:
commit
0b5f4922e1
@ -113,10 +113,6 @@ class phpbb_datetime_from_format_test extends phpbb_test_case
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
// This magically fixes the segmentation fault error on PHP7 tests
|
||||
// while date_default_timezone_set('UTC') does not
|
||||
date_default_timezone_set('Europe/Paris');
|
||||
|
||||
$lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx);
|
||||
$lang = new \phpbb\language\language($lang_loader);
|
||||
$user = new \phpbb\user($lang, '\phpbb\datetime');
|
||||
|
Loading…
x
Reference in New Issue
Block a user