1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-08 23:31:04 +02:00

[ticket/16643] Refactor installer task ordering

PHPBB3-16643
This commit is contained in:
Máté Bartus
2021-01-16 10:03:52 +01:00
parent 0f3ea6991d
commit d9bfb4d01d
10 changed files with 54 additions and 54 deletions

View File

@@ -1,4 +1,13 @@
services:
installer.install_data.add_languages:
class: phpbb\install\module\install_data\task\add_languages
arguments:
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language.helper.language_file'
tags:
- { name: install_data_install, order: 1 }
installer.install_data.add_bots:
class: phpbb\install\module\install_data\task\add_bots
arguments:
@@ -9,16 +18,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_data_install, order: 20 }
installer.install_data.add_languages:
class: phpbb\install\module\install_data\task\add_languages
arguments:
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language.helper.language_file'
tags:
- { name: install_data_install, order: 10 }
- { name: install_data_install, order: 2 }
installer.install_data.add_modules:
class: phpbb\install\module\install_data\task\add_modules
@@ -27,7 +27,7 @@ services:
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
tags:
- { name: install_data_install, order: 30 }
- { name: install_data_install, order: 3 }
installer.install_data.create_search_index:
class: phpbb\install\module\install_data\task\create_search_index
@@ -37,7 +37,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_data_install, order: 40 }
- { name: install_data_install, order: 4 }
installer.module.data_install_collection:
class: phpbb\di\ordered_service_collection
@@ -52,4 +52,4 @@ services:
arguments:
- '@installer.module.data_install_collection'
tags:
- { name: installer_install_module, order: 50 }
- { name: installer_install_module, order: 5 }