Add hook to BugMail to allow an extension to add fields to $vars

RESOLVED WONTFIX

Status

()

Bugzilla
Email Notifications
--
enhancement
RESOLVED WONTFIX
8 years ago
8 years ago

People

(Reporter: dougbugzilla, Unassigned)

Tracking

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C)
Build Identifier: 3.6.2

Source file: Bugzilla/BugMail.pm
location: after $vars is defined, line 645 in 3.6.2
purpose: Allow users to add additional fields (e.g. custom fields) to $vars, so that a template extension to email/newchangedmail.txt.tmpl can access those fields.

Reproducible: Always

Comment 1

8 years ago
Ah, this isn't necessary. You can simply use template_before_process for that.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
(Reporter)

Comment 2

8 years ago
Thanks, that works great!
You need to log in before you can comment on or make changes to this bug.