1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 04:13:29 +02:00

[ticket/14340] Revert fix for segmentation fault error on phpBB 3.2 PHP7 tests

The fix was introduces with #3826, now the PHP core bug has been fixed:
https://bugs.php.net/bug.php?id=70249

PHPBB3-14340
This commit is contained in:
rxu 2015-12-05 00:01:27 +07:00
parent b0dfca1dbf
commit 8916072a2a

View File

@ -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');