From e4f782819968ec44f1dd207dc9de7ec703826d29 Mon Sep 17 00:00:00 2001 From: Nathaniel Guse Date: Sun, 3 Mar 2013 19:54:22 -0600 Subject: [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 --- phpBB/config/migrator.yml | 2 -- phpBB/config/services.yml | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'phpBB/config') diff --git a/phpBB/config/migrator.yml b/phpBB/config/migrator.yml index 42445ef9bf..999a2d41a3 100644 --- a/phpBB/config/migrator.yml +++ b/phpBB/config/migrator.yml @@ -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 diff --git a/phpBB/config/services.yml b/phpBB/config/services.yml index 250e4a782b..3e4ae8d129 100644 --- a/phpBB/config/services.yml +++ b/phpBB/config/services.yml @@ -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 -- cgit v1.2.1