stable
Clone or download
Read-only
request #11029: Do not set the default PHP timezone from invalid user's timezone
The user's timezone might end up being not considered as valid by PHP because the timezone that has been set initially was not valid or because timezones change. Tuleap should not blindly trust the timezone retrieved from the user's preferences. Change-Id: I8478b3771a286193abd368c3a5de0fbd411b9321
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/account/TimezonesCollection.class.php | +1 | −9 | Go to diff View file |
M | src/common/include/TimezoneRetriever.php | +11 | −2 | Go to diff View file |
A | src/db/mysql/updates/2018/201801181115_remove_invalid_tuleap_timezones.php | +72 | −0 | Go to diff View file |
A | tests/simpletest/common/include/TimezoneRetrieverTest.php | +44 | −0 | Go to diff View file |