mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10714] Enable event core.get_logs_get_additional_data
PHPBB3-10714
This commit is contained in:
parent
cf095dd393
commit
7010524815
1 changed files with 10 additions and 3 deletions
|
@ -459,14 +459,21 @@ class phpbb_log implements phpbb_log_interface
|
|||
$db->sql_freeresult($result);
|
||||
|
||||
/**
|
||||
* @todo: enable when events are merged
|
||||
* Get some additional data after we got all log entries
|
||||
*
|
||||
* @event core.get_logs_get_additional_data
|
||||
* @var array log Array with all our log entries
|
||||
* @var array topic_id_list Array of topic ids, for which we
|
||||
* get the permission data
|
||||
* @var array reportee_id_list Array of additional user IDs we
|
||||
* get the username strings for
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
if ($phpbb_dispatcher != null)
|
||||
{
|
||||
$vars = array('log', 'topic_id_list', 'reportee_id_list');
|
||||
extract($phpbb_dispatcher->trigger_event('core.get_logs_additional_data', $vars, $vars));
|
||||
extract($phpbb_dispatcher->trigger_event('core.get_logs_get_additional_data', $vars));
|
||||
}
|
||||
*/
|
||||
|
||||
if (sizeof($topic_id_list))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue