mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Fix (?) an issue with CCs not being written into commit messages properly
Summary: Report from @zeeg, I think this is the root issue. Currently, if a project is CC'd we'll write "CC: projectname", but should write "CC: #projectname". Test Plan: Verified that we now write "CC: #projectname". Reviewers: btrahan, zeeg Reviewed By: zeeg CC: zeeg, aran Differential Revision: https://secure.phabricator.com/D8296
This commit is contained in:
parent
20a3ee24f9
commit
a84cc1ab73
2 changed files with 1 additions and 3 deletions
|
@ -90,7 +90,7 @@ final class DifferentialCCsFieldSpecification
|
|||
foreach ($this->ccs as $phid) {
|
||||
$handle = $this->getHandle($phid);
|
||||
if ($handle->isComplete()) {
|
||||
$names[] = $handle->getName();
|
||||
$names[] = $handle->getObjectName();
|
||||
}
|
||||
}
|
||||
return implode(', ', $names);
|
||||
|
|
|
@ -130,8 +130,6 @@ final class DifferentialReviewersFieldSpecification
|
|||
return null;
|
||||
}
|
||||
|
||||
$project_type = PhabricatorProjectPHIDTypeProject::TYPECONST;
|
||||
|
||||
$names = array();
|
||||
foreach ($this->reviewers as $phid) {
|
||||
$names[] = $this->getHandle($phid)->getObjectName();
|
||||
|
|
Loading…
Reference in a new issue