diff options
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 26ef37585..2b068dc2c 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -759,35 +759,6 @@ sub create { # built-in filter, please also add a stub filter to t/004template.t. FILTERS => { - # Render text in required style. - - inactive => [ - sub { - my($context, $isinactive) = @_; - return sub { - return $isinactive ? '<span class="bz_inactive">'.$_[0].'</span>' : $_[0]; - } - }, 1 - ], - - closed => [ - sub { - my($context, $isclosed) = @_; - return sub { - return $isclosed ? '<span class="bz_closed">'.$_[0].'</span>' : $_[0]; - } - }, 1 - ], - - obsolete => [ - sub { - my($context, $isobsolete) = @_; - return sub { - return $isobsolete ? '<span class="bz_obsolete">'.$_[0].'</span>' : $_[0]; - } - }, 1 - ], - # Returns the text with backslashes, single/double quotes, # and newlines/carriage returns escaped for use in JS strings. js => sub { |