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
-rw-r--r--phpBB/phpbb/console/command/db/migration_command.php2
2 files changed, 1 insertions, 7 deletions
diff --git a/phpBB/phpbb/console/command/db/list_command.php b/phpBB/phpbb/console/command/db/list_command.php
index dfec5c7da2..708107b592 100644
--- a/phpBB/phpbb/console/command/db/list_command.php
+++ b/phpBB/phpbb/console/command/db/list_command.php
@@ -39,12 +39,6 @@ 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;
diff --git a/phpBB/phpbb/console/command/db/migration_command.php b/phpBB/phpbb/console/command/db/migration_command.php
index d44ef8c5cb..b951560588 100644
--- a/phpBB/phpbb/console/command/db/migration_command.php
+++ b/phpBB/phpbb/console/command/db/migration_command.php
@@ -45,7 +45,7 @@ abstract class migration_command extends \phpbb\console\command\command
$this->migrator->set_migrations($migrations);
- return $migrations;
+ return $this->migrator->get_migrations();
}
protected function finalise_update()