[ticket/12826] Add optional root namespace indicator for consistency.

PHPBB3-12826
This commit is contained in:
Andreas Fischer 2014-08-07 14:25:53 +02:00
parent cc1a713fd8
commit e523711ec2
2 changed files with 2 additions and 2 deletions

View file

@ -925,7 +925,7 @@ class acp_board
{
$user->timezone = new DateTimeZone($config['board_timezone']);
}
catch (Exception $e)
catch (\Exception $e)
{
// If the board timezone is invalid, we just use the users timezone.
}

View file

@ -1031,7 +1031,7 @@ function phpbb_get_timezone_identifiers($selected_timezone)
$validate_timezone = new DateTimeZone($selected_timezone);
$timezones[] = $selected_timezone;
}
catch (Exception $e)
catch (\Exception $e)
{
}
}