mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/14434] Remove recursion to simplify is_migration method
PHPBB3-14434
This commit is contained in:
@@ -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]);
|
||||
|
Reference in New Issue
Block a user