summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Error
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2016-12-15 00:49:48 +0100
committerDylan William Hardison <dylan@hardison.net>2016-12-15 00:50:08 +0100
commit490499f9a35b36b72c0b7b30322b9838774b93fe (patch)
tree541fe6f0b4c74e5ac320698e2ef372ffa948b9ec /Bugzilla/Error
parent9f141e825ed983fd2540bbfadb4be693ddce16a5 (diff)
downloadbugzilla-490499f9a35b36b72c0b7b30322b9838774b93fe.tar.gz
bugzilla-490499f9a35b36b72c0b7b30322b9838774b93fe.tar.xz
Bug 1313766 - Bugzilla::Bug->send_changes() should not output HTML directly
Diffstat (limited to 'Bugzilla/Error')
-rw-r--r--Bugzilla/Error/Template.pm26
1 files changed, 26 insertions, 0 deletions
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