1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge remote-tracking branch 'remotes/Nicofuma/ticket/12432' into develop-ascraeus

# By Nicofuma
# Via Nicofuma
* remotes/Nicofuma/ticket/12432:
  [ticket/12432] Correcting the assertion
  [ticket/12432] Adding unit test
  [ticket/12432] Migrator should not revert custom functions
This commit is contained in:
Nathaniel Guse
2014-05-01 22:16:02 -05:00
3 changed files with 25 additions and 4 deletions

View File

@@ -509,10 +509,17 @@ class migrator
throw new \phpbb\db\migration\exception('MIGRATION_INVALID_DATA_CUSTOM_NOT_CALLABLE', $step);
}
return array(
$parameters[0],
array($last_result),
);
if ($reverse)
{
return false;
}
else
{
return array(
$parameters[0],
array($last_result),
);
}
break;
default: