aboutsummaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-20 11:52:25 -0800
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-02-20 11:52:25 -0800
commitabeb296487b58e9f03a3c0eea7b051874014b501 (patch)
tree800a1fbf707cfe36e77fc8b8c12d3f249f2a522b /template/en
parent09df4b6fe6b6f589db00aef337d73c270e990bf0 (diff)
downloadbugs-abeb296487b58e9f03a3c0eea7b051874014b501.tar
bugs-abeb296487b58e9f03a3c0eea7b051874014b501.tar.gz
bugs-abeb296487b58e9f03a3c0eea7b051874014b501.tar.bz2
bugs-abeb296487b58e9f03a3c0eea7b051874014b501.tar.xz
bugs-abeb296487b58e9f03a3c0eea7b051874014b501.zip
Bug 499151: Only call format_comment when it's actually needed, as a slight
performance improvement. r=glob, a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/format_comment.txt.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/template/en/default/bug/format_comment.txt.tmpl b/template/en/default/bug/format_comment.txt.tmpl
index 2d4a20303..7a65aed24 100644
--- a/template/en/default/bug/format_comment.txt.tmpl
+++ b/template/en/default/bug/format_comment.txt.tmpl
@@ -63,8 +63,6 @@ Comment on attachment [% comment.extra_data %]
[%+ comment.attachment.description %]
[%+ comment.body %]
-[% ELSIF comment.type %]
- [% Hook.process('type') %]
[% ELSE %]
-X[% comment_body %]
+X[% Hook.process('type') %]
[% END %]