diff options
author | Dylan William Hardison <dylan@hardison.net> | 2016-12-20 15:31:05 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-12-20 15:31:05 +0100 |
commit | 574643ad6a9d62063f2d47f82328c1a4b7f5979d (patch) | |
tree | 0d65108030fd419105c78e722402e977dce3ab60 /Bugzilla/Error | |
parent | e0040665d073cb044bcee0aac730d8fca175d852 (diff) | |
download | bugzilla-574643ad6a9d62063f2d47f82328c1a4b7f5979d.tar.gz bugzilla-574643ad6a9d62063f2d47f82328c1a4b7f5979d.tar.xz |
Bug 1313766 - Bugzilla::Bug->send_changes() should not output HTML directly
Diffstat (limited to 'Bugzilla/Error')
-rw-r--r-- | Bugzilla/Error/Template.pm | 26 |
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 |