mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/16643] Refactor installer tasks to use Doctrine DBAL
PHPBB3-16643
This commit is contained in:
@@ -2,23 +2,36 @@ services:
|
||||
installer.install_data.add_languages:
|
||||
class: phpbb\install\module\install_data\task\add_languages
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@language.helper.language_file'
|
||||
tags:
|
||||
- { name: install_data_install, order: 1 }
|
||||
|
||||
installer.install_data.add_languages_to_profile_fields:
|
||||
class: phpbb\install\module\install_data\task\setup_languages
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
tags:
|
||||
- { name: install_data_install, order: 2 }
|
||||
|
||||
installer.install_data.add_bots:
|
||||
class: phpbb\install\module\install_data\task\add_bots
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@language'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: install_data_install, order: 2 }
|
||||
- { name: install_data_install, order: 3 }
|
||||
|
||||
installer.install_data.add_modules:
|
||||
class: phpbb\install\module\install_data\task\add_modules
|
||||
@@ -27,17 +40,19 @@ services:
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
tags:
|
||||
- { name: install_data_install, order: 3 }
|
||||
- { name: install_data_install, order: 4 }
|
||||
|
||||
installer.install_data.create_search_index:
|
||||
class: phpbb\install\module\install_data\task\create_search_index
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- { name: install_data_install, order: 4 }
|
||||
- { name: install_data_install, order: 5 }
|
||||
|
||||
installer.module.data_install_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
|
@@ -37,7 +37,6 @@ services:
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@language'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
@@ -46,6 +45,7 @@ services:
|
||||
installer.install_database.add_config_settings:
|
||||
class: phpbb\install\module\install_database\task\add_config_settings
|
||||
arguments:
|
||||
- '@installer.helper.database'
|
||||
- '@filesystem'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.iohandler'
|
||||
@@ -55,6 +55,17 @@ services:
|
||||
tags:
|
||||
- { name: install_database_install, order: 5 }
|
||||
|
||||
installer.install_database.update_user_and_post_data:
|
||||
class: phpbb\install\module\install_database\task\update_user_and_post_data
|
||||
arguments:
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.iohandler'
|
||||
- '@language'
|
||||
tags:
|
||||
- { name: install_database_install, order: 6 }
|
||||
|
||||
installer.module.install_database_collection:
|
||||
class: phpbb\di\ordered_service_collection
|
||||
arguments:
|
||||
|
@@ -12,8 +12,8 @@ services:
|
||||
arguments:
|
||||
- '@installer.helper.container_factory'
|
||||
- '@installer.helper.config'
|
||||
- '@installer.helper.database'
|
||||
- '@installer.helper.iohandler'
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- { name: install_finish, order: 2 }
|
||||
|
||||
|
Reference in New Issue
Block a user