aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/console/command')
-rw-r--r--phpBB/phpbb/console/command/db/list_command.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/phpbb/console/command/db/list_command.php b/phpBB/phpbb/console/command/db/list_command.php
index 708107b592..dfec5c7da2 100644
--- a/phpBB/phpbb/console/command/db/list_command.php
+++ b/phpBB/phpbb/console/command/db/list_command.php
@@ -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;