mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-21 17:11:53 +02:00
[ticket/15394] Add $user_cache
PHPBB3-15394
This commit is contained in:
@@ -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)));
|
||||
|
||||
|
Reference in New Issue
Block a user