1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 19:54:12 +02:00

[ticket/11386] Send list of migrations instead of using load_migrations

Remove dependency of extension manager for migrator.

Keeping load_migrations function for others to use if they desire
but requiring the finder be sent to it in order to use it.

PHPBB3-11386
This commit is contained in:
Nathaniel Guse
2013-03-03 19:54:22 -06:00
parent bee4f8d818
commit e4f7828199
10 changed files with 160 additions and 161 deletions

View File

@@ -10,8 +10,6 @@ services:
- %core.php_ext%
- %core.table_prefix%
- @migrator.tool_collection
calls:
- [set_extension_manager, [@ext.manager]]
migrator.tool_collection:
class: phpbb_di_service_collection

View File

@@ -116,12 +116,11 @@ services:
- @service_container
- @dbal.conn
- @config
- @migrator
- %tables.ext%
- %core.root_path%
- .%core.php_ext%
- @cache.driver
calls:
- [set_migrator, [@migrator]]
ext.finder:
class: phpbb_extension_finder