Commit 93b46e54 authored by bbaetz%acm.org's avatar bbaetz%acm.org

Bug 208583 - Remove PerformSubsts from templates

r,a=justdave
parent f32800e0
......@@ -249,10 +249,6 @@ sub create {
# Function to create date strings
'time2str' => \&Date::Format::time2str,
# Function for processing global parameters that contain references
# to other global parameters.
'PerformSubsts' => \&::PerformSubsts ,
# Generic linear search function
'lsearch' => \&Bugzilla::Util::lsearch,
......@@ -269,10 +265,6 @@ sub create {
Bugzilla::BugMail::Send($id, $mailrecipients);
},
# SyncAnyPendingShadowChanges
# - called in the footer to sync the shadowdb
'SyncAnyPendingShadowChanges' => \&::SyncAnyPendingShadowChanges,
# Bugzilla version
# This could be made a ref, or even a CONSTANT with TT2.08
'VERSION' => $Bugzilla::Config::VERSION ,
......
......@@ -339,7 +339,6 @@
'bug_list.last',
'bug.bug_id',
'bug.votes',
'PerformSubsts(Param(\'mybugstemplate\'), substs)',
],
'bug/comments.html.tmpl' => [
......
......@@ -73,9 +73,8 @@
[%# *** Preset Queries *** %]
[% IF user.showmybugslink %]
[% user_login = user.login FILTER url_quote %]
[% substs = { userid => user_login } %]
<link rel="Preset&nbsp;Queries" title="My Bugs"
href="[% PerformSubsts(Param('mybugstemplate'), substs) %]">
href="[% Param('mybugstemplate').replace('%userid%', user_login) %]">
[% END %]
[% FOREACH q = user.queries %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment