diff options
author | rxu <rxu@mail.ru> | 2015-12-05 00:01:27 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2015-12-05 00:01:27 +0700 |
commit | 8916072a2abf0228a8795bd639c671769a2b86f3 (patch) | |
tree | a98bef82ed4f2ffabd737758b3709e9d769c7ac4 /tests/datetime | |
parent | b0dfca1dbf503d8dbbcac87d7025b73227fb27ad (diff) | |
download | forums-8916072a2abf0228a8795bd639c671769a2b86f3.tar forums-8916072a2abf0228a8795bd639c671769a2b86f3.tar.gz forums-8916072a2abf0228a8795bd639c671769a2b86f3.tar.bz2 forums-8916072a2abf0228a8795bd639c671769a2b86f3.tar.xz forums-8916072a2abf0228a8795bd639c671769a2b86f3.zip |
[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
Diffstat (limited to 'tests/datetime')
-rw-r--r-- | tests/datetime/from_format_test.php | 4 |
1 files changed, 0 insertions, 4 deletions
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'); |