aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-08-07 14:25:53 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-08-07 14:25:53 +0200
commite523711ec2a8690de44748fc7382b7701f2fa6b1 (patch)
tree79264ad9c94d5ba4d0002be71acf7f5d21418cec /phpBB
parentcc1a713fd832de70aafd8a580bc650caf5237ca4 (diff)
downloadforums-e523711ec2a8690de44748fc7382b7701f2fa6b1.tar
forums-e523711ec2a8690de44748fc7382b7701f2fa6b1.tar.gz
forums-e523711ec2a8690de44748fc7382b7701f2fa6b1.tar.bz2
forums-e523711ec2a8690de44748fc7382b7701f2fa6b1.tar.xz
forums-e523711ec2a8690de44748fc7382b7701f2fa6b1.zip
[ticket/12826] Add optional root namespace indicator for consistency.
PHPBB3-12826
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_board.php2
-rw-r--r--phpBB/includes/functions.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index 1811748c2f..f2707f15ca 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -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.
}
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index d7b1b56532..4318b20b97 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -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)
{
}
}