mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-20 07:42:09 +02:00
[ticket/14434] Do not include non-migrations in CLI list
PHPBB3-14434
This commit is contained in:
parent
996441a1da
commit
fc72862ca4
@ -39,6 +39,12 @@ class list_command extends \phpbb\console\command\db\migration_command
|
||||
|
||||
foreach ($this->load_migrations() as $name)
|
||||
{
|
||||
// Ignore non-migration files
|
||||
if (\phpbb\db\migrator::is_migration($name) === false)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($this->migrator->migration_state($name) !== false)
|
||||
{
|
||||
$installed[] = $name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user