mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-29 17:00:59 +01:00
Show less misleading summary, test plan authors
Summary: Instead of assuming the test plan and summary are written by the author of the differential revision, let's assume they are written by the author of the latest differential diff. Test Plan: viewed a drev that had been commandeered but not updated to check authors Reviewers: epriestley, jungejason, vrana Reviewed By: epriestley CC: aran, Koolvin Maniphest Tasks: T1235 Differential Revision: https://secure.phabricator.com/D2550
This commit is contained in:
parent
ec27d39b8b
commit
0ddfd0b4fb
1 changed files with 3 additions and 1 deletions
|
@ -364,8 +364,10 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
|
||||
private function getImplicitComments(DifferentialRevision $revision) {
|
||||
|
||||
$diff = $revision->loadActiveDiff();
|
||||
|
||||
$template = new DifferentialComment();
|
||||
$template->setAuthorPHID($revision->getAuthorPHID());
|
||||
$template->setAuthorPHID($diff->getAuthorPHID());
|
||||
$template->setRevisionID($revision->getID());
|
||||
$template->setDateCreated($revision->getDateCreated());
|
||||
|
||||
|
|
Loading…
Reference in a new issue