diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-06-29 05:26:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 05:26:52 +0200 |
commit | d5f2d8158b90a55cefe126e38132e390e9fa75f5 (patch) | |
tree | 8d31e608d7bf81d919fc4b8240508a4cb1982c41 /Bugzilla/Template.pm | |
parent | 4a15e8b3b36dcde234ef2e068d931a59e0ce1d4e (diff) | |
download | bugzilla-d5f2d8158b90a55cefe126e38132e390e9fa75f5.tar.gz bugzilla-d5f2d8158b90a55cefe126e38132e390e9fa75f5.tar.xz |
Bug 1472048 - Remove Metrics Code
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 5 |
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) |