aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-08-25 21:41:04 -0400
committerDavid King <imkingdavid@gmail.com>2012-08-25 21:41:04 -0400
commitca62b1ffb0c1f37877fbb59beef7cd38c012b827 (patch)
treeb75ce0737356dca5d65a4544e244053e63e20118 /phpBB/posting.php
parent7ee3eb16ac1a4f11003c72b77352ad7fda53050d (diff)
downloadforums-ca62b1ffb0c1f37877fbb59beef7cd38c012b827.tar
forums-ca62b1ffb0c1f37877fbb59beef7cd38c012b827.tar.gz
forums-ca62b1ffb0c1f37877fbb59beef7cd38c012b827.tar.bz2
forums-ca62b1ffb0c1f37877fbb59beef7cd38c012b827.tar.xz
forums-ca62b1ffb0c1f37877fbb59beef7cd38c012b827.zip
[feature/add_events] Added note in modify_posting_parameters
The template assignment methods do not work until $user->setup() has been run. This event is called before it, so extensions requiring template methods must put such calls in a later event. PHPBB3-9550
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index f37d6128de..ff959bb4b7 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -49,6 +49,10 @@ $current_time = time();
*
* Note: $refresh must be true to retain previously submitted form data.
*
+* Note: The template class will not work properly until $user->setup() is
+* called, and it has not been called yet. Extensions requiring template
+* assignments should use an event that comes later in this file.
+*
* @event core.modify_posting_parameters
* @var int post_id ID of the post
* @var int topic_id ID of the topic