diff options
author | MateBartus <mate.bartus@gmail.com> | 2015-05-01 19:04:21 +0200 |
---|---|---|
committer | MateBartus <mate.bartus@gmail.com> | 2015-05-05 19:16:49 +0200 |
commit | 7b301e22f32e9209bb4e3ea17a5637a84a4ef908 (patch) | |
tree | 20c56c1c0982976a0234409bdd7bf05050353545 /phpBB/phpbb/template/exception | |
parent | de687f32ed8df438cb798d98f1a5dda7a5ac76dc (diff) | |
download | forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar.gz forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar.bz2 forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.tar.xz forums-7b301e22f32e9209bb4e3ea17a5637a84a4ef908.zip |
[ticket/13804] Make template's user dependency optional
PHPBB3-13804
Diffstat (limited to 'phpBB/phpbb/template/exception')
-rw-r--r-- | phpBB/phpbb/template/exception/user_object_not_available.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/phpBB/phpbb/template/exception/user_object_not_available.php b/phpBB/phpbb/template/exception/user_object_not_available.php new file mode 100644 index 0000000000..62fd2743c1 --- /dev/null +++ b/phpBB/phpbb/template/exception/user_object_not_available.php @@ -0,0 +1,22 @@ +<?php +/** + * + * This file is part of the phpBB Forum Software package. + * + * @copyright (c) phpBB Limited <https://www.phpbb.com> + * @license GNU General Public License, version 2 (GPL-2.0) + * + * For full copyright and license information, please see + * the docs/CREDITS.txt file. + * + */ + +namespace phpbb\template\exception; + +/** + * This exception is thrown when the user object was not set but it is required by the called method + */ +class user_object_not_available extends \phpbb\exception\runtime_exception +{ + +} |