mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 02:32:42 +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;
|
$body[] = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$body[] = 'TEST PLAN';
|
if ($revision->getTestPlan() != '') {
|
||||||
$body[] = $this->formatText($revision->getTestPlan());
|
$body[] = 'TEST PLAN';
|
||||||
$body[] = null;
|
$body[] = $this->formatText($revision->getTestPlan());
|
||||||
|
$body[] = null;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (strlen($this->getComments())) {
|
if (strlen($this->getComments())) {
|
||||||
$body[] = $this->formatText($this->getComments());
|
$body[] = $this->formatText($this->getComments());
|
||||||
|
|
Loading…
Reference in a new issue