1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Fix Herald adapter construction for new revisions. Fixes T4572.

This commit is contained in:
epriestley 2014-03-08 06:35:41 -08:00
parent 76577df506
commit 314edcabbb

View file

@ -1170,8 +1170,8 @@ final class DifferentialTransactionEditor
} }
$adapter = HeraldDifferentialRevisionAdapter::newLegacyAdapter( $adapter = HeraldDifferentialRevisionAdapter::newLegacyAdapter(
$object, $revision,
$object->getActiveDiff()); $revision->getActiveDiff());
$reviewers = $revision->getReviewerStatus(); $reviewers = $revision->getReviewerStatus();
$reviewer_phids = mpull($reviewers, 'getReviewerPHID'); $reviewer_phids = mpull($reviewers, 'getReviewerPHID');