mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12432] Migrator should not revert custom functions
https://tracker.phpbb.com/browse/PHPBB3-12432 PHPBB3-12432
This commit is contained in:
parent
9eedd45aac
commit
595f831589
1 changed files with 11 additions and 4 deletions
|
@ -509,10 +509,17 @@ class migrator
|
||||||
throw new \phpbb\db\migration\exception('MIGRATION_INVALID_DATA_CUSTOM_NOT_CALLABLE', $step);
|
throw new \phpbb\db\migration\exception('MIGRATION_INVALID_DATA_CUSTOM_NOT_CALLABLE', $step);
|
||||||
}
|
}
|
||||||
|
|
||||||
return array(
|
if ($reverse)
|
||||||
$parameters[0],
|
{
|
||||||
array($last_result),
|
return false;
|
||||||
);
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
$parameters[0],
|
||||||
|
array($last_result),
|
||||||
|
);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Reference in a new issue