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

[ticket/15274] Allow "custom" migrations to use parameters

Add the possibility to have custom migrations with parameters,
allowing the use of a single function for several uses.

PHPBB3-15274
This commit is contained in:
javiexin
2017-07-15 18:39:39 +02:00
committed by Marc Alexander
parent e36da01264
commit 5c001df380
4 changed files with 137 additions and 1 deletions

View File

@@ -784,7 +784,7 @@ class migrator
{
return array(
$parameters[0],
array($last_result),
isset($parameters[1]) ? array_merge($parameters[1], array($last_result)) : array($last_result),
);
}
break;