aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2017-10-09 17:54:48 +0200
committerJakub Senko <jakubsenko@gmail.com>2017-10-09 17:55:47 +0200
commitbad711e0d96e6e78b67eba3b38a8bc283c5e3535 (patch)
tree58d97d3b02e7b3feb589fb73208cfe86bf027241 /phpBB
parentfc3d3a83db3357f3275c72ff7b3607666c6307a3 (diff)
downloadforums-bad711e0d96e6e78b67eba3b38a8bc283c5e3535.tar
forums-bad711e0d96e6e78b67eba3b38a8bc283c5e3535.tar.gz
forums-bad711e0d96e6e78b67eba3b38a8bc283c5e3535.tar.bz2
forums-bad711e0d96e6e78b67eba3b38a8bc283c5e3535.tar.xz
forums-bad711e0d96e6e78b67eba3b38a8bc283c5e3535.zip
[ticket/15394] Add $user_cache
PHPBB3-15394
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/viewtopic.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index d4bf5b2490..f044766098 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -2017,10 +2017,12 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
* @var array user_poster_data Poster's data from user cache
* @var array post_row Template block array of the post
* @var array topic_data Array with topic data
+ * @var array user_cache Array with cached user data
* @since 3.1.0-a1
* @changed 3.1.0-a3 Added vars start, current_row_number, end, attachments
* @changed 3.1.0-b3 Added topic_data array, total_posts
* @changed 3.1.0-RC3 Added poster_id
+ * @changed 3.2.2-RC1 Added user_cache
*/
$vars = array(
'start',
@@ -2034,6 +2036,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
'user_poster_data',
'post_row',
'topic_data',
+ 'user_cache',
);
extract($phpbb_dispatcher->trigger_event('core.viewtopic_modify_post_row', compact($vars)));