aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/exception
diff options
context:
space:
mode:
authorMateBartus <mate.bartus@gmail.com>2015-05-01 19:04:21 +0200
committerMateBartus <mate.bartus@gmail.com>2015-05-05 19:16:49 +0200
commit7b301e22f32e9209bb4e3ea17a5637a84a4ef908 (patch)
tree20c56c1c0982976a0234409bdd7bf05050353545 /phpBB/phpbb/template/exception
parentde687f32ed8df438cb798d98f1a5dda7a5ac76dc (diff)
downloadforums-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.php22
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
+{
+
+}