aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-03-24 17:13:17 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-08-21 12:12:40 +0200
commit2c7f498c1b43cfb96f868e9b0f9b80ad5ec626a8 (patch)
tree288a069507a59520971fc0c8befef97f55aa3933 /phpBB/includes/functions.php
parent1e00c697b766d1a8695c8e058334efe1dd3dbb7e (diff)
downloadforums-2c7f498c1b43cfb96f868e9b0f9b80ad5ec626a8.tar
forums-2c7f498c1b43cfb96f868e9b0f9b80ad5ec626a8.tar.gz
forums-2c7f498c1b43cfb96f868e9b0f9b80ad5ec626a8.tar.bz2
forums-2c7f498c1b43cfb96f868e9b0f9b80ad5ec626a8.tar.xz
forums-2c7f498c1b43cfb96f868e9b0f9b80ad5ec626a8.zip
[ticket/10714] Change $phpbb_dispatcher calls to the new layout
PHPBB3-10714
Diffstat (limited to 'phpBB/includes/functions.php')
-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));
}
*/
}