1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/12963] Load extensions migrations from /migration

PHPBB3-12963
This commit is contained in:
Tristan Darricau
2014-09-10 12:08:13 +02:00
parent ff872a7970
commit 72ee4b3a7c
3 changed files with 23 additions and 4 deletions

View File

@@ -177,11 +177,11 @@ $migrator = $phpbb_container->get('migrator');
$migrator->create_migrations_table();
$phpbb_extension_manager = $phpbb_container->get('ext.manager');
$finder = $phpbb_extension_manager->get_finder();
$migrations = $finder
$migrations = $phpbb_extension_manager
->get_finder()
->core_path('phpbb/db/migration/data/')
->extension_directory('/migrations')
->extension_directory('/migration')
->get_classes();
// @deprecated to be removed in 3.2 final