зеркало из https://github.com/mozilla/pjs.git
Patch for bug 277389: Modify flag notification code so it doesn't append emailsuffix to CC list's addresses; patch by Marc Schumann <wurblzap@gmail.com>, r=wurblzap, a=justdave.
This commit is contained in:
Родитель
a26bbd504d
Коммит
060b8d2500
|
@ -622,7 +622,7 @@ sub notify {
|
|||
next if $flag->{'target'}->{'attachment'}->{'isprivate'}
|
||||
&& Param("insidergroup")
|
||||
&& !$ccuser->in_group(Param("insidergroup"));
|
||||
push(@new_cc_list, $cc.Param('emailsuffix'));
|
||||
push(@new_cc_list, $cc);
|
||||
}
|
||||
$flag->{'type'}->{'cc_list'} = join(", ", @new_cc_list);
|
||||
}
|
||||
|
|
|
@ -163,7 +163,14 @@
|
|||
<tr>
|
||||
<th>CC List:</th>
|
||||
<td>
|
||||
if requestable, who should get carbon copied on email notification of requests<br>
|
||||
if requestable, who should get carbon copied on email notification of requests.
|
||||
This is a comma-separated list of full e-mail addresses which do not
|
||||
need to be [% terms.Bugzilla %] logins.
|
||||
[% IF Param('emailsuffix') %]
|
||||
Note that the configured emailsuffix
|
||||
<kbd>[% Param('emailsuffix') %]</kbd> will <em>not</em> be appended
|
||||
to these addresses, so you should add it explicitly if so desired.
|
||||
[% END %]<br>
|
||||
<input type="text" name="cc_list" value="[% type.cc_list FILTER html %]" size="80" maxlength="200">
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Загрузка…
Ссылка в новой задаче