aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-03-30 11:02:48 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-30 14:04:20 +0200
commit0d6a5cb6ae29348a247c8f42e2046c8b84741aa5 (patch)
tree574e8f0c138be58a4a9aaa78e8c676aa47018991 /phpBB/includes/functions.php
parentb250ffc561a631d6639c80017e7d0178e7c68e05 (diff)
downloadforums-0d6a5cb6ae29348a247c8f42e2046c8b84741aa5.tar
forums-0d6a5cb6ae29348a247c8f42e2046c8b84741aa5.tar.gz
forums-0d6a5cb6ae29348a247c8f42e2046c8b84741aa5.tar.bz2
forums-0d6a5cb6ae29348a247c8f42e2046c8b84741aa5.tar.xz
forums-0d6a5cb6ae29348a247c8f42e2046c8b84741aa5.zip
[feature/event-dispatcher] Update core.page_header event
Update it to the new correct format. PHPBB3-9550
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 bd7ed71dcb..7a96dd3609 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4763,9 +4763,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
));
$vars = array('page_title', 'display_online_list', 'item_id', 'item');
- $event = new phpbb_event_data(compact($vars));
- $phpbb_dispatcher->dispatch('core.page_header', $event);
- extract($event->get_data_filtered($vars));
+ extract($phpbb_dispatcher->trigger_event('core.page_header', compact($vars)));
// application/xhtml+xml not used because of IE
header('Content-type: text/html; charset=UTF-8');