1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-20 23:51:28 +01:00

Merge pull request #4995 from senky/ticket/15394

[ticket/15394] Add $user_cache
This commit is contained in:
Marc Alexander 2017-10-11 13:29:00 +02:00
commit f6d1dd8b33
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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)));