1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Add square brackets around new revision review requests

Summary:
These didn't get covered when we added square brackets to the rest of the emails
(so gmail can thread them properly).

Test Plan:
Created a local diff, got an email with brackets.

Reviewed By: tuomaspelkonen
Reviewers: rm, tuomaspelkonen, jungejason, aran
CC: aran, epriestley, tuomaspelkonen
Differential Revision: 256
This commit is contained in:
epriestley 2011-05-09 17:00:20 -07:00
parent d63f3d479c
commit e313b1d64a

View file

@ -29,7 +29,10 @@ class DifferentialNewDiffMail extends DifferentialReviewRequestMail {
$verb = 'Updated';
}
return "{$verb} ({$lines}): ".$revision->getTitle();
$revision_id = $revision->getID();
$revision_title = $revision->getTitle();
return "[{$verb}, {$lines}] D{$revision_id}: {$revision_title}";
}
protected function buildSubject() {