aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/module/update_database/task
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-02 13:12:25 +0100
committerTristan Darricau <tristan.darricau@sensiolabs.com>2016-02-02 13:12:25 +0100
commit8e100f000ed5f67f329e597851d81652b4055a53 (patch)
treed49b061d43a0549904d75027a85a9e85faaa394d /phpBB/phpbb/install/module/update_database/task
parent15e9367b5b9add3197ea13658499d60de14baa54 (diff)
parent27027deb9ce2076f64dbfdecba494efe1aa523dc (diff)
downloadforums-8e100f000ed5f67f329e597851d81652b4055a53.tar
forums-8e100f000ed5f67f329e597851d81652b4055a53.tar.gz
forums-8e100f000ed5f67f329e597851d81652b4055a53.tar.bz2
forums-8e100f000ed5f67f329e597851d81652b4055a53.tar.xz
forums-8e100f000ed5f67f329e597851d81652b4055a53.zip
Merge pull request #4144 from VSEphpbb/ticket/14434
[ticket/14434] Allow non-migration files inside migrations folder (continued) * VSEphpbb/ticket/14434: [ticket/14434] Refactored to check migrations when setting them [ticket/14434] Check migrations in the database updater task [ticket/14434] Do not include non-migrations in CLI list [ticket/14434] Remove redundant conditional [ticket/14434] Fix whitespace mistakes [ticket/14434] Remove recursion to simplify is_migration method [ticket/14434] Extract migration check to a reusable method [ticket/14434] Schema generator should ignore migration helpers
Diffstat (limited to 'phpBB/phpbb/install/module/update_database/task')
-rw-r--r--phpBB/phpbb/install/module/update_database/task/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/module/update_database/task/update.php b/phpBB/phpbb/install/module/update_database/task/update.php
index 84ec6f73f5..4b2baf2c23 100644
--- a/phpBB/phpbb/install/module/update_database/task/update.php
+++ b/phpBB/phpbb/install/module/update_database/task/update.php
@@ -140,7 +140,7 @@ class update extends task_base
->get_classes();
$this->migrator->set_migrations($migrations);
- $migration_count = count($migrations);
+ $migration_count = count($this->migrator->get_migrations());
$this->iohandler->set_task_count($migration_count, true);
$progress_count = $this->installer_config->get('database_update_count', 0);