[ticket/11043] Change hook name back to display, since that's where we hook in.

PHPBB3-11043
This commit is contained in:
Andreas Fischer 2012-08-03 12:34:19 +02:00 committed by Patrick Webster
parent ae612de663
commit 3c71f07a3e

View file

@ -132,7 +132,7 @@ $phpbb_subscriber_loader->load();
// Add own hook handler // Add own hook handler
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx); require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('phpbb_template', 'call_hook'))); $phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('phpbb_template', 'display')));
foreach ($cache->obtain_hooks() as $hook) foreach ($cache->obtain_hooks() as $hook)
{ {