aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 3e3d796ba2..c5a1543277 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3407,9 +3407,7 @@ function add_log()
if ($phpbb_dispatcher != null)
{
$vars = array('mode', 'args', 'additional_data');
- $event = new phpbb_event_data(compact($vars));
- $phpbb_dispatcher->dispatch('core.function_add_log', $event);
- extract($event->get_data_filtered($vars));
+ extract($phpbb_dispatcher->trigger_event('core.function_add_log', $vars, $vars));
}
*/
}