1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-09 17:15:19 +02:00

[feature/migrations] Fix unfulfillable function

Returned unfulfillable name in the wrong place previously

PHPBB3-11351
This commit is contained in:
Nathaniel Guse 2013-02-09 21:16:39 -06:00
parent f18b096df9
commit f9a1b27a99

View File

@ -681,12 +681,12 @@ class phpbb_db_migrator
{ {
if (isset($this->migration_state[$name])) if (isset($this->migration_state[$name]))
{ {
return $name; return false;
} }
if (!class_exists($name)) if (!class_exists($name))
{ {
return true; return $name;
} }
$migration = $this->get_migration($name); $migration = $this->get_migration($name);