mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
Merge pull request #3965 from marc1706/ticket/14234
[ticket/14234] Use replacement variables instead of references in events * marc1706/ticket/14234: [ticket/14234] Fix event doc blocks [ticket/14234] Get rid of undefined variables [ticket/14234] Fix change version and remove more references [ticket/14234] Replace more references with variables [ticket/14234] Use replacement variables instead of references in events
This commit is contained in:
@@ -1255,7 +1255,6 @@ if ($submit || $preview || $refresh)
|
||||
* @var array poll Array with poll data from post (must be used instead of the post_data equivalent)
|
||||
* @var string mode What action to take if the form is submitted
|
||||
* post|reply|quote|edit|delete|bump|smilies|popup
|
||||
* @var string page_title Title of the mode page
|
||||
* @var int post_id ID of the post
|
||||
* @var int topic_id ID of the topic
|
||||
* @var int forum_id ID of the forum
|
||||
@@ -1264,12 +1263,12 @@ if ($submit || $preview || $refresh)
|
||||
* NOTE: Should be actual language strings, NOT language keys.
|
||||
* @since 3.1.0-RC5
|
||||
* @change 3.1.5-RC1 Added poll array to the event
|
||||
* @change 3.2.0-a1 Removed undefined page_title
|
||||
*/
|
||||
$vars = array(
|
||||
'post_data',
|
||||
'poll',
|
||||
'mode',
|
||||
'page_title',
|
||||
'post_id',
|
||||
'topic_id',
|
||||
'forum_id',
|
||||
@@ -1382,7 +1381,6 @@ if ($submit || $preview || $refresh)
|
||||
* @var array data Array with post data going to be stored in the database
|
||||
* @var string mode What action to take if the form is submitted
|
||||
* post|reply|quote|edit|delete
|
||||
* @var string page_title Title of the mode page
|
||||
* @var int post_id ID of the post
|
||||
* @var int topic_id ID of the topic
|
||||
* @var int forum_id ID of the forum
|
||||
@@ -1392,13 +1390,13 @@ if ($submit || $preview || $refresh)
|
||||
* NOTE: Should be actual language strings, NOT language keys.
|
||||
* @since 3.1.0-RC5
|
||||
* @changed 3.1.6-RC1 remove submit and error from event Submit and Error are checked previously prior to running event
|
||||
* @change 3.2.0-a1 Removed undefined page_title
|
||||
*/
|
||||
$vars = array(
|
||||
'post_data',
|
||||
'poll',
|
||||
'data',
|
||||
'mode',
|
||||
'page_title',
|
||||
'post_id',
|
||||
'topic_id',
|
||||
'forum_id',
|
||||
@@ -1420,7 +1418,6 @@ if ($submit || $preview || $refresh)
|
||||
* @var array data Array with post data going to be stored in the database
|
||||
* @var string mode What action to take if the form is submitted
|
||||
* post|reply|quote|edit|delete
|
||||
* @var string page_title Title of the mode page
|
||||
* @var int post_id ID of the post
|
||||
* @var int topic_id ID of the topic
|
||||
* @var int forum_id ID of the forum
|
||||
@@ -1431,13 +1428,13 @@ if ($submit || $preview || $refresh)
|
||||
* NOTE: Should be actual language strings, NOT language keys.
|
||||
* @since 3.1.0-RC5
|
||||
* @changed 3.1.6-RC1 remove submit and error from event Submit and Error are checked previously prior to running event
|
||||
* @change 3.2.0-a1 Removed undefined page_title
|
||||
*/
|
||||
$vars = array(
|
||||
'post_data',
|
||||
'poll',
|
||||
'data',
|
||||
'mode',
|
||||
'page_title',
|
||||
'post_id',
|
||||
'topic_id',
|
||||
'forum_id',
|
||||
|
Reference in New Issue
Block a user