From abeb296487b58e9f03a3c0eea7b051874014b501 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Sat, 20 Feb 2010 11:52:25 -0800 Subject: Bug 499151: Only call format_comment when it's actually needed, as a slight performance improvement. r=glob, a=LpSolit --- template/en/default/bug/format_comment.txt.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'template/en') 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 %] -- cgit v1.2.3-24-g4f1b