diff options
| author | Oleg Pudeyev <oleg@bsdpower.com> | 2013-01-02 01:36:50 -0500 |
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2013-01-02 01:36:50 -0500 |
| commit | bc317c49a73bb6e271ac084b0b696b44e20babe8 (patch) | |
| tree | b2f03990fa849b9080d77a854d0b79697aa00c74 /phpBB/install/database_update.php | |
| parent | 3360d4cfce97c19a45dfcf6354b2ba9225125359 (diff) | |
| download | forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar.gz forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar.bz2 forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.tar.xz forums-bc317c49a73bb6e271ac084b0b696b44e20babe8.zip | |
[ticket/11305] Define hook finder as a service on the container.
PHPBB3-11305
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index f31682c784..8950d677ae 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -133,7 +133,7 @@ if (file_exists($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('template', 'display'))); - $phpbb_hook_finder = new phpbb_hook_finder($phpbb_root_path, $phpEx, $phpbb_container->get('cache.driver')); + $phpbb_hook_finder = $phpbb_container->get('hook_finder'); foreach ($phpbb_hook_finder->find() as $hook) { @include($phpbb_root_path . 'includes/hooks/' . $hook . '.' . $phpEx); |
