aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/schema_generator.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-01-27 11:46:04 -0800
committerMatt Friedman <maf675@gmail.com>2016-01-27 11:46:04 -0800
commit3bd8a2ba196f240c5b982271af1ee8b2a2f8332b (patch)
tree8c3fa9178348ba1772103f2e78fa3c22b3b8ceef /phpBB/phpbb/db/migration/schema_generator.php
parent47d8aeebde6f763ec7247daf0df16dd2388b25b6 (diff)
downloadforums-3bd8a2ba196f240c5b982271af1ee8b2a2f8332b.tar
forums-3bd8a2ba196f240c5b982271af1ee8b2a2f8332b.tar.gz
forums-3bd8a2ba196f240c5b982271af1ee8b2a2f8332b.tar.bz2
forums-3bd8a2ba196f240c5b982271af1ee8b2a2f8332b.tar.xz
forums-3bd8a2ba196f240c5b982271af1ee8b2a2f8332b.zip
[ticket/14434] Remove recursion to simplify is_migration method
PHPBB3-14434
Diffstat (limited to 'phpBB/phpbb/db/migration/schema_generator.php')
-rw-r--r--phpBB/phpbb/db/migration/schema_generator.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migration/schema_generator.php b/phpBB/phpbb/db/migration/schema_generator.php
index dc685bb161..c579e25824 100644
--- a/phpBB/phpbb/db/migration/schema_generator.php
+++ b/phpBB/phpbb/db/migration/schema_generator.php
@@ -79,8 +79,7 @@ class schema_generator
{
foreach ($migrations as $key => $migration_class)
{
- // Unset classes that do not exist or do not extend the
- // abstract class phpbb\db\migration\migration
+ // Unset classes that are not a valid migration
if (\phpbb\db\migrator::is_migration($migration_class) === false)
{
unset($migrations[$key]);