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

[ticket/14492] Re-enable extensions if updated during update

PHPBB3-14492
This commit is contained in:
Marc Alexander
2016-01-29 10:13:06 +01:00
parent 8fb2347cfa
commit 267d1b15c4
5 changed files with 179 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ services:
tags:
- { name: install_finish, order: 10 }
installer.install_finish.install_viglink:
installer.install_finish.install_extensions:
class: phpbb\install\module\install_finish\task\install_extensions
arguments:
- '@installer.helper.container_factory'
@@ -41,4 +41,4 @@ services:
arguments:
- '@installer.module.install_finish_collection'
tags:
- { name: installer_install_module, order: 60 }
- { name: installer_install_module, order: 80 }

View File

@@ -11,6 +11,17 @@ services:
tags:
- { name: update_database_task, order: 10 }
installer.update_database.update_extensions:
class: phpbb\install\module\update_database\task\update_extensions
arguments:
- '@installer.helper.container_factory'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.update_helper'
- '%core.root_path%'
tags:
- { name: update_database_task, order: 20 }
installer.module.update_database_collection:
class: phpbb\di\ordered_service_collection
arguments:
@@ -26,4 +37,4 @@ services:
- true
- false
tags:
- { name: installer_update_module, order: 40 }
- { name: installer_update_module, order: 60 }