1
0
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:
Matt Friedman 2016-01-27 12:47:31 -08:00
parent 996441a1da
commit fc72862ca4

View File

@ -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;