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:
@@ -117,8 +117,17 @@ class migrate extends \phpbb\console\command\command
|
||||
$migrations = $this->extension_manager
|
||||
->get_finder()
|
||||
->core_path('phpbb/db/migration/data/')
|
||||
->extension_directory('/migration')
|
||||
->get_classes();
|
||||
|
||||
// @deprecated to be removed in 3.2 final
|
||||
$migrations_deprecated = $this->extension_manager
|
||||
->get_finder()
|
||||
->extension_directory('/migrations')
|
||||
->get_classes();
|
||||
|
||||
$migrations = array_merge($migrations, $migrations_deprecated);
|
||||
|
||||
$this->migrator->set_migrations($migrations);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user