aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/extension/exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/extension/exception.php')
-rw-r--r--phpBB/phpbb/extension/exception.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/phpBB/phpbb/extension/exception.php b/phpBB/phpbb/extension/exception.php
index e08a8912ea..82327c9d5e 100644
--- a/phpBB/phpbb/extension/exception.php
+++ b/phpBB/phpbb/extension/exception.php
@@ -7,21 +7,15 @@
*
*/
-/**
-* @ignore
-*/
-if (!defined('IN_PHPBB'))
-{
- exit;
-}
+namespace phpbb\extension;
/**
* Exception class for metadata
*/
-class phpbb_extension_exception extends UnexpectedValueException
+class exception extends \UnexpectedValueException
{
public function __toString()
{
return $this->getMessage();
}
-} \ No newline at end of file
+}