aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-03-03 19:54:22 -0600
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-03-03 19:54:22 -0600
commite4f782819968ec44f1dd207dc9de7ec703826d29 (patch)
treee55e3aa115c561d0522b15c897a86a2de8d208ef /phpBB/config
parentbee4f8d8185d4ff5278be758db4ea4a814f09b4f (diff)
downloadforums-e4f782819968ec44f1dd207dc9de7ec703826d29.tar
forums-e4f782819968ec44f1dd207dc9de7ec703826d29.tar.gz
forums-e4f782819968ec44f1dd207dc9de7ec703826d29.tar.bz2
forums-e4f782819968ec44f1dd207dc9de7ec703826d29.tar.xz
forums-e4f782819968ec44f1dd207dc9de7ec703826d29.zip
[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
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/migrator.yml2
-rw-r--r--phpBB/config/services.yml3
2 files changed, 1 insertions, 4 deletions
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