mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 01:50:55 +01:00
(stable) Correct flipped transaction constants in "Closed Date" migration
Summary: These transaction constants are flipped, which can produce the wrong result in some cases. Test Plan: `./bin/storage upgrade -f --apply phabricator:20180208.maniphest.02.populate.php` Differential Revision: https://secure.phabricator.com/D19054
This commit is contained in:
parent
88faa980c6
commit
215b8b4727
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ foreach (new LiskMigrationIterator($table) as $task) {
|
|||
// where the task was closed. A merge also counts as a close, even though
|
||||
// it doesn't currently produce a separate transaction.
|
||||
|
||||
$type_merge = ManiphestTaskStatusTransaction::TRANSACTIONTYPE;
|
||||
$type_status = ManiphestTaskMergedIntoTransaction::TRANSACTIONTYPE;
|
||||
$type_status = ManiphestTaskStatusTransaction::TRANSACTIONTYPE;
|
||||
$type_merge = ManiphestTaskMergedIntoTransaction::TRANSACTIONTYPE;
|
||||
|
||||
$xactions = id(new ManiphestTransactionQuery())
|
||||
->setViewer($viewer)
|
||||
|
|
Loading…
Reference in a new issue