From 574643ad6a9d62063f2d47f82328c1a4b7f5979d Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 20 Dec 2016 09:31:05 -0500 Subject: Bug 1313766 - Bugzilla::Bug->send_changes() should not output HTML directly --- Bugzilla/Error/Template.pm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Bugzilla/Error/Template.pm (limited to 'Bugzilla/Error') diff --git a/Bugzilla/Error/Template.pm b/Bugzilla/Error/Template.pm new file mode 100644 index 000000000..a3afa7e4d --- /dev/null +++ b/Bugzilla/Error/Template.pm @@ -0,0 +1,26 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This Source Code Form is "Incompatible With Secondary Licenses", as +# defined by the Mozilla Public License, v. 2.0. + +package Bugzilla::Error::Template; + +use 5.10.1; +use strict; +use warnings; +use Moo; + +has 'file' => ( + is => 'ro', + required => 1, +); + +has 'vars' => ( + is => 'ro', + default => sub { {} }, +); + + +1; \ No newline at end of file -- cgit v1.2.3-24-g4f1b