From 334bead74bc9c5e819f14946726eaad40986d636 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sat, 16 Dec 2017 13:17:05 -0600 Subject: Bug 1403777 - Migrate urlbase from params to localconfig --- extensions/InlineHistory/Extension.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/InlineHistory') diff --git a/extensions/InlineHistory/Extension.pm b/extensions/InlineHistory/Extension.pm index fb4a8f98f..adbfa4c74 100644 --- a/extensions/InlineHistory/Extension.pm +++ b/extensions/InlineHistory/Extension.pm @@ -16,7 +16,7 @@ use base qw(Bugzilla::Extension); use Bugzilla::User::Setting; use Bugzilla::Constants; use Bugzilla::Attachment; -use Bugzilla::Util 'correct_urlbase'; +use Bugzilla::Util (); our $VERSION = '1.5'; @@ -132,7 +132,7 @@ sub template_before_process { # split see-also if ($change->{fieldname} eq 'see_also') { - my $url_base = correct_urlbase(); + my $url_base = Bugzilla->localconfig->{urlbase}; foreach my $f (qw( added removed )) { my @values; foreach my $value (split(/, /, $change->{$f})) { -- cgit v1.2.3-24-g4f1b