mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[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
This commit is contained in:
parent
7ee3eb16ac
commit
ca62b1ffb0
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,10 @@ $current_time = time();
|
||||||
*
|
*
|
||||||
* Note: $refresh must be true to retain previously submitted form data.
|
* 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
|
* @event core.modify_posting_parameters
|
||||||
* @var int post_id ID of the post
|
* @var int post_id ID of the post
|
||||||
* @var int topic_id ID of the topic
|
* @var int topic_id ID of the topic
|
||||||
|
|
Loading…
Add table
Reference in a new issue