diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-12-27 13:38:19 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-12-27 13:38:19 +0100 |
commit | 867a45138cb76aa42d2f350bf18751ecbfc29cc9 (patch) | |
tree | 7edee50da042e9c32e13962e90e52e6fed0bc451 /phpBB | |
parent | aea67c8e37a36a71e98c2de6c69730e246e09e9f (diff) | |
parent | 91dc002c31452df9f6b02e0351df3af3d10d4eb7 (diff) | |
download | forums-867a45138cb76aa42d2f350bf18751ecbfc29cc9.tar forums-867a45138cb76aa42d2f350bf18751ecbfc29cc9.tar.gz forums-867a45138cb76aa42d2f350bf18751ecbfc29cc9.tar.bz2 forums-867a45138cb76aa42d2f350bf18751ecbfc29cc9.tar.xz forums-867a45138cb76aa42d2f350bf18751ecbfc29cc9.zip |
Merge pull request #3175 from Senky/ticket/13368
[ticket/13368] Add $forum_data to viewforum_get_topic_ids_data event
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/viewforum.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 1f455494f7..ce079cb262 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -395,7 +395,7 @@ $sql_array = array( * @var array forum_data Array with forum data * @var array sql_array The SQL array to get the data of all topics * @since 3.1.0-a1 -* @change 3.1.0-RC4 Added forum_data var +* @change 3.1.0-RC4 Added forum_data var */ $vars = array( 'forum_data', @@ -554,6 +554,7 @@ $sql_ary = array( * Event to modify the SQL query before the topic ids data is retrieved * * @event core.viewforum_get_topic_ids_data +* @var array forum_data Data about the forum * @var array sql_ary SQL query array to get the topic ids data * @var string sql_approved Topic visibility SQL string * @var int sql_limit Number of records to select @@ -564,8 +565,11 @@ $sql_ary = array( * @var bool store_reverse Flag indicating if we select from the late pages * * @since 3.1.0-RC4 +* +* @changed 3.1.3 Added forum_data */ $vars = array( + 'forum_data', 'sql_ary', 'sql_approved', 'sql_limit', |