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/Push/lib/Connector/Spark.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/Push/lib/Connector') diff --git a/extensions/Push/lib/Connector/Spark.pm b/extensions/Push/lib/Connector/Spark.pm index 3194bd3ab..e58ddfbe4 100644 --- a/extensions/Push/lib/Connector/Spark.pm +++ b/extensions/Push/lib/Connector/Spark.pm @@ -18,7 +18,7 @@ use Bugzilla::Extension::Push::Constants; use Bugzilla::Extension::Push::Util; use Bugzilla::Bug; use Bugzilla::Attachment; -use Bugzilla::Util qw(correct_urlbase); +use Bugzilla::Util (); use JSON qw(decode_json encode_json); use LWP::UserAgent; @@ -108,7 +108,7 @@ sub send { } } } - $text .= correct_urlbase() . "show_bug.cgi?id=" . $bug->id; + $text .= Bugzilla->localconfig->{urlbase} . "show_bug.cgi?id=" . $bug->id; my $room_id = $self->config->{spark_room_id}; my $message_uri = $self->_spark_uri('messages'); -- cgit v1.2.3-24-g4f1b