diff options
author | David King <imkingdavid@gmail.com> | 2012-08-25 21:41:04 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-08-25 21:41:04 -0400 |
commit | ca62b1ffb0c1f37877fbb59beef7cd38c012b827 (patch) | |
tree | b75ce0737356dca5d65a4544e244053e63e20118 /phpBB/posting.php | |
parent | 7ee3eb16ac1a4f11003c72b77352ad7fda53050d (diff) | |
download | forums-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.php | 4 |
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 |