aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/template/exception/user_object_not_available.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-05-14 17:03:12 +0200
committerNicofuma <github@nicofuma.fr>2015-05-14 17:03:12 +0200
commitba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc (patch)
tree3b0af71583b22d3de171273defba147cf4ea5725 /phpBB/phpbb/template/exception/user_object_not_available.php
parenta26ab86dc63b196c79d86f3da36b8596a7beeb02 (diff)
parent281f2ef2dacc7d635646edb3897fba8ff6f66d25 (diff)
downloadforums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar.gz
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar.bz2
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.tar.xz
forums-ba9ac01dc0dc5297ce613ff3ca62cec9e5d1a8fc.zip
Merge pull request #3581 from MateBartus/ticket/13804
[ticket/13804] Make template's user dependency optional
Diffstat (limited to 'phpBB/phpbb/template/exception/user_object_not_available.php')
-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
+{
+
+}