1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[feature/new-tz-handling] Remove "timezone might be numeric"

As we updated all of the used values, there really shouldn't be one anymore.

PHPBB3-9558
This commit is contained in:
Joas Schilling
2012-07-18 14:56:42 +02:00
parent 8078a04f3a
commit 515e1662a9
2 changed files with 0 additions and 11 deletions

View File

@@ -127,12 +127,6 @@ class phpbb_user extends phpbb_session
*/
}
if (is_numeric($user_timezone))
{
// Might still be numeric
$user_timezone = sprintf('Etc/GMT%+d', $user_timezone);
}
$this->tz = new DateTimeZone($user_timezone);
// We include common language file here to not load it every time a custom language file is included