From 8916072a2abf0228a8795bd639c671769a2b86f3 Mon Sep 17 00:00:00 2001 From: rxu Date: Sat, 5 Dec 2015 00:01:27 +0700 Subject: [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 --- tests/datetime/from_format_test.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/datetime') diff --git a/tests/datetime/from_format_test.php b/tests/datetime/from_format_test.php index 32b88ff588..7ecb546768 100644 --- a/tests/datetime/from_format_test.php +++ b/tests/datetime/from_format_test.php @@ -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'); -- cgit v1.2.1