diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-05-02 13:21:21 +0200 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-05-02 13:21:21 +0200 |
commit | 2f480be02d25421fa4c372c103604f24d4adf0ab (patch) | |
tree | 2f4a353b340a7dd60ed63bdf6177aeeb426fc0c9 /phpBB/phpbb/extension/exception.php | |
parent | e51571eaa3b52a5a344cc847b51049c67642f6ff (diff) | |
parent | 57072a1e28061ff51148c7d6a0c47664f0060639 (diff) | |
download | forums-2f480be02d25421fa4c372c103604f24d4adf0ab.tar forums-2f480be02d25421fa4c372c103604f24d4adf0ab.tar.gz forums-2f480be02d25421fa4c372c103604f24d4adf0ab.tar.bz2 forums-2f480be02d25421fa4c372c103604f24d4adf0ab.tar.xz forums-2f480be02d25421fa4c372c103604f24d4adf0ab.zip |
Merge pull request #3565 from MateBartus/ticket/13793
[ticket/13793] Remove translation on throwing exceptions
Diffstat (limited to 'phpBB/phpbb/extension/exception.php')
-rw-r--r-- | phpBB/phpbb/extension/exception.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/phpbb/extension/exception.php b/phpBB/phpbb/extension/exception.php index 3f7d251a4e..9050449bf1 100644 --- a/phpBB/phpbb/extension/exception.php +++ b/phpBB/phpbb/extension/exception.php @@ -16,10 +16,6 @@ namespace phpbb\extension; /** * Exception class for metadata */ -class exception extends \UnexpectedValueException +class exception extends \phpbb\exception\runtime_exception { - public function __toString() - { - return $this->getMessage(); - } } |