summaryrefslogtreecommitdiffstats
path: root/processmail
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-04-07 02:40:48 +0200
committerjustdave%syndicomm.com <>2001-04-07 02:40:48 +0200
commit9818692e383d603ed728df6c16c02150854b6d3c (patch)
tree4b53988edc1fb83b7ed0618b5981e6cf353b3c2b /processmail
parent15bbeca6392a314269ec3aadb1a949e65fc53fe4 (diff)
downloadbugzilla-9818692e383d603ed728df6c16c02150854b6d3c.tar.gz
bugzilla-9818692e383d603ed728df6c16c02150854b6d3c.tar.xz
Re-fix for bug 29820: remove "Changed" from email subject line. Based on patch submitted by Stephan Niemz [faniz] <st.n@gmx.net>, r= jake, cyeh
UPGRADE NOTES: when you install this update, you will need to change the subject line in your 'changedmail' and 'newchangedmail' params from the web by running editparams.cgi. The subject line needs to be changed from: Subject: [Bug %bugid%] %neworchanged% - %summary% to Subject: [Bug %bugid%] %neworchanged%%summary% Or whatever is appropriate for the subject you are using on your system. Note the removal of the " - " in the middle.
Diffstat (limited to 'processmail')
-rwxr-xr-xprocessmail4
1 files changed, 2 insertions, 2 deletions
diff --git a/processmail b/processmail
index c34b45b15..c9e006d4e 100755
--- a/processmail
+++ b/processmail
@@ -949,7 +949,7 @@ sub NewProcessOnePerson ($$$$$$$$$$) {
# since if the bug didn't change, you wouldn't be getting mail
# in the first place! see http://bugzilla.mozilla.org/show_bug.cgi?id=29820
# for details.
- $substs{"neworchanged"} = $isnew ? "New" : "";
+ $substs{"neworchanged"} = $isnew ? 'New: ' : '';
$substs{"to"} = $person;
$substs{"cc"} = '';
$substs{"bugid"} = $id;
@@ -1042,7 +1042,7 @@ sub ProcessOneBug {
$substs{"diffs"} .= $_;
}
close DIFFS;
- $substs{"neworchanged"} = $verb;
+ $substs{"neworchanged"} = ($verb eq "New") ? "New: " : "";
$substs{"summary"} = $::bug{'short_desc'};
my $msg = PerformSubsts(Param("changedmail"), \%substs);