diff options
author | javiexin <javiexin@gmail.com> | 2017-07-15 18:39:39 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 22:06:34 +0200 |
commit | 5c001df3802cf906951102596f9e1d56b876d873 (patch) | |
tree | 8fe6927040829704b7af92e8c368bb2bec356768 /phpBB | |
parent | e36da012645a6c376b0ecb306ee6b99e5437a410 (diff) | |
download | forums-5c001df3802cf906951102596f9e1d56b876d873.tar forums-5c001df3802cf906951102596f9e1d56b876d873.tar.gz forums-5c001df3802cf906951102596f9e1d56b876d873.tar.bz2 forums-5c001df3802cf906951102596f9e1d56b876d873.tar.xz forums-5c001df3802cf906951102596f9e1d56b876d873.zip |
[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
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/db/migrator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php index 2b0c66fc58..3a1ee758cf 100644 --- a/phpBB/phpbb/db/migrator.php +++ b/phpBB/phpbb/db/migrator.php @@ -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; |