mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Don't send empty testplan in e-mail
Summary: Allowed after D2193. Test Plan: Disable `differential.require-test-plan-field`, create diff without test plan. Reviewers: epriestley Reviewed By: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D2252
This commit is contained in:
parent
fbfccf5ddc
commit
dd7087f4db
1 changed files with 5 additions and 3 deletions
|
@ -56,9 +56,11 @@ abstract class DifferentialReviewRequestMail extends DifferentialMail {
|
|||
$body[] = null;
|
||||
}
|
||||
|
||||
if ($revision->getTestPlan() != '') {
|
||||
$body[] = 'TEST PLAN';
|
||||
$body[] = $this->formatText($revision->getTestPlan());
|
||||
$body[] = null;
|
||||
}
|
||||
} else {
|
||||
if (strlen($this->getComments())) {
|
||||
$body[] = $this->formatText($this->getComments());
|
||||
|
|
Loading…
Reference in a new issue