diff options
| author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-04-29 22:16:46 -0500 |
|---|---|---|
| committer | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-04-29 22:16:46 -0500 |
| commit | 4cd0914f8976913de0ec46cc78c8ac5731415838 (patch) | |
| tree | bfc2f8d8334d8d9175cb8e493b66cdb46752231e /phpBB/includes/notification/exception.php | |
| parent | 7bda5a016a726711855fb7a749f9f3638e63d1e3 (diff) | |
| download | forums-4cd0914f8976913de0ec46cc78c8ac5731415838.tar forums-4cd0914f8976913de0ec46cc78c8ac5731415838.tar.gz forums-4cd0914f8976913de0ec46cc78c8ac5731415838.tar.bz2 forums-4cd0914f8976913de0ec46cc78c8ac5731415838.tar.xz forums-4cd0914f8976913de0ec46cc78c8ac5731415838.zip | |
[ticket/11413] Fix notification tests
Send types/methods the cache service, not the driver (not sure why the
driver was sent before)
PHPBB3-11413
Diffstat (limited to 'phpBB/includes/notification/exception.php')
| -rw-r--r-- | phpBB/includes/notification/exception.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/phpBB/includes/notification/exception.php b/phpBB/includes/notification/exception.php new file mode 100644 index 0000000000..a52d6fdc57 --- /dev/null +++ b/phpBB/includes/notification/exception.php @@ -0,0 +1,29 @@ +<?php +/** +* +* @package notifications +* @copyright (c) 2013 phpBB Group +* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2 +* +*/ + +/** +* @ignore +*/ +if (!defined('IN_PHPBB')) +{ + exit; +} + +/** +* Notifications exception +* +* @package notifications +*/ +class phpbb_notification_exception extends \Exception +{ + public function __toString() + { + return $this->getMessage(); + } +} |
