diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-10-11 13:29:00 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-10-11 13:29:00 +0200 |
commit | f6d1dd8b336dd69c34fad56ec954dfd9d720bfe7 (patch) | |
tree | 52909d72e465f4c5e78d0137952b63ee84459f0e /phpBB | |
parent | cfba5613b746fcfabc75902981fe344987a42424 (diff) | |
parent | 5c16ef0657d6fb4d5b38bf14e698a4e7f0bb22a7 (diff) | |
download | forums-f6d1dd8b336dd69c34fad56ec954dfd9d720bfe7.tar forums-f6d1dd8b336dd69c34fad56ec954dfd9d720bfe7.tar.gz forums-f6d1dd8b336dd69c34fad56ec954dfd9d720bfe7.tar.bz2 forums-f6d1dd8b336dd69c34fad56ec954dfd9d720bfe7.tar.xz forums-f6d1dd8b336dd69c34fad56ec954dfd9d720bfe7.zip |
Merge pull request #4995 from senky/ticket/15394
[ticket/15394] Add $user_cache
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/viewtopic.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index d4bf5b2490..c94675a741 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -2017,10 +2017,13 @@ 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 + * @var array post_edit_list Array with post edited list * @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 and post_edit_list */ $vars = array( 'start', @@ -2034,6 +2037,8 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'user_poster_data', 'post_row', 'topic_data', + 'user_cache', + 'post_edit_list', ); extract($phpbb_dispatcher->trigger_event('core.viewtopic_modify_post_row', compact($vars))); |