summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-06-07 13:36:18 +0200
committerbbaetz%acm.org <>2003-06-07 13:36:18 +0200
commit93b46e547ae68336276ea56e0d2f1206d31a35a6 (patch)
tree2c40a4a4f4f2c0ec9fc35f6c4a746fa7297386ac
parentf32800e0c6b377a253c01454ce6b1b6a9b45eeb8 (diff)
downloadbugzilla-93b46e547ae68336276ea56e0d2f1206d31a35a6.tar.gz
bugzilla-93b46e547ae68336276ea56e0d2f1206d31a35a6.tar.xz
Bug 208583 - Remove PerformSubsts from templates
r,a=justdave
-rw-r--r--Bugzilla/Template.pm8
-rw-r--r--template/en/default/filterexceptions.pl1
-rw-r--r--template/en/default/global/site-navigation.html.tmpl3
3 files changed, 1 insertions, 11 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 7c084ecb9..b83079861 100644
--- a/Bugzilla/Template.pm
+++ b/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/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index b462b7bcc..d2abbdadb 100644
--- a/template/en/default/filterexceptions.pl
+++ b/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/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl
index 178a99167..af80a65da 100644
--- a/template/en/default/global/site-navigation.html.tmpl
+++ b/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 } %]
<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 %]