mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15274] Allow "custom" migrations to use parameters
Remove references in migration tool. PHPBB3-15274
This commit is contained in:
parent
5c001df380
commit
5a0c9763d1
4 changed files with 6 additions and 6 deletions
|
@ -23,11 +23,11 @@ class phpbb_dbal_migration_if extends \phpbb\db\migration\migration
|
||||||
return array(
|
return array(
|
||||||
array('if', array(
|
array('if', array(
|
||||||
true,
|
true,
|
||||||
array('custom', array(array(&$this, 'test_true'))),
|
array('custom', array(array($this, 'test_true'))),
|
||||||
)),
|
)),
|
||||||
array('if', array(
|
array('if', array(
|
||||||
false,
|
false,
|
||||||
array('custom', array(array(&$this, 'test_false'))),
|
array('custom', array(array($this, 'test_false'))),
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,11 +23,11 @@ class phpbb_dbal_migration_if_params extends \phpbb\db\migration\migration
|
||||||
return array(
|
return array(
|
||||||
array('if', array(
|
array('if', array(
|
||||||
true,
|
true,
|
||||||
array('custom', array(array(&$this, 'test'), array('true'))),
|
array('custom', array(array($this, 'test'), array('true'))),
|
||||||
)),
|
)),
|
||||||
array('if', array(
|
array('if', array(
|
||||||
false,
|
false,
|
||||||
array('custom', array(array(&$this, 'test'), array('false'))),
|
array('custom', array(array($this, 'test'), array('false'))),
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ class phpbb_dbal_migration_recall extends \phpbb\db\migration\migration
|
||||||
function update_data()
|
function update_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array('custom', array(array(&$this, 'test_call'))),
|
array('custom', array(array($this, 'test_call'))),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ class phpbb_dbal_migration_recall_params extends \phpbb\db\migration\migration
|
||||||
function update_data()
|
function update_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array('custom', array(array(&$this, 'test_call'), array(5))),
|
array('custom', array(array($this, 'test_call'), array(5))),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue