summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-06-28 18:36:27 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:31 +0200
commit5d6d68697dceec6a8c5a8947118abe527ad09ba1 (patch)
tree569fd48de25510b93437775aedb5605295e2c5bb /Bugzilla/Template.pm
parentf63319ac7da3fc3f9107c21ad715b8af9566fde4 (diff)
downloadbugzilla-5d6d68697dceec6a8c5a8947118abe527ad09ba1.tar.gz
bugzilla-5d6d68697dceec6a8c5a8947118abe527ad09ba1.tar.xz
Remove metrics stuff
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index ae4f9bbad..9eea0d3dd 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -1050,10 +1050,7 @@ sub create {
$SHARED_PROVIDERS{$provider_key} ||= $provider_class->new($config);
$config->{LOAD_TEMPLATES} = [ $SHARED_PROVIDERS{$provider_key} ];
- # BMO - use metrics subclass
- local $Template::Config::CONTEXT = Bugzilla->metrics_enabled()
- ? 'Bugzilla::Metrics::Template::Context'
- : 'Bugzilla::Template::Context';
+ local $Template::Config::CONTEXT = 'Bugzilla::Template::Context';
Bugzilla::Hook::process('template_before_create', { config => $config });
my $template = $class->new($config)