From 1be840d13aef73d7cdabd84dd070595e05b791f3 Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" Date: Sat, 7 Jun 2003 04:36:23 +0000 Subject: [PATCH] Bug 208583 - Remove PerformSubsts from templates r,a=justdave --- webtools/bugzilla/Bugzilla/Template.pm | 8 -------- webtools/bugzilla/template/en/default/filterexceptions.pl | 1 - .../template/en/default/global/site-navigation.html.tmpl | 3 +-- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/webtools/bugzilla/Bugzilla/Template.pm b/webtools/bugzilla/Bugzilla/Template.pm index 7c084ecb9973..b8307986110d 100644 --- a/webtools/bugzilla/Bugzilla/Template.pm +++ b/webtools/bugzilla/Bugzilla/Template.pm @@ -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, @@ -268,10 +264,6 @@ sub create { require Bugzilla::BugMail; 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 diff --git a/webtools/bugzilla/template/en/default/filterexceptions.pl b/webtools/bugzilla/template/en/default/filterexceptions.pl index b462b7bcc87b..d2abbdadb125 100644 --- a/webtools/bugzilla/template/en/default/filterexceptions.pl +++ b/webtools/bugzilla/template/en/default/filterexceptions.pl @@ -339,7 +339,6 @@ 'bug_list.last', 'bug.bug_id', 'bug.votes', - 'PerformSubsts(Param(\'mybugstemplate\'), substs)', ], 'bug/comments.html.tmpl' => [ diff --git a/webtools/bugzilla/template/en/default/global/site-navigation.html.tmpl b/webtools/bugzilla/template/en/default/global/site-navigation.html.tmpl index 178a99167839..af80a65dac06 100644 --- a/webtools/bugzilla/template/en/default/global/site-navigation.html.tmpl +++ b/webtools/bugzilla/template/en/default/global/site-navigation.html.tmpl @@ -73,9 +73,8 @@ [%# *** Preset Queries *** %] [% IF user.showmybugslink %] [% user_login = user.login FILTER url_quote %] - [% substs = { userid => user_login } %] + href="[% Param('mybugstemplate').replace('%userid%', user_login) %]"> [% END %] [% FOREACH q = user.queries %]