mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user