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/PhabBugz/lib/WebService.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/PhabBugz/lib') diff --git a/extensions/PhabBugz/lib/WebService.pm b/extensions/PhabBugz/lib/WebService.pm index 738077880..0ff2d46f9 100644 --- a/extensions/PhabBugz/lib/WebService.pm +++ b/extensions/PhabBugz/lib/WebService.pm @@ -20,7 +20,7 @@ use Bugzilla::Constants; use Bugzilla::Error; use Bugzilla::Extension::Push::Util qw(is_public); use Bugzilla::User; -use Bugzilla::Util qw(correct_urlbase detaint_natural); +use Bugzilla::Util qw(detaint_natural); use Bugzilla::WebService::Constants; use Bugzilla::Extension::PhabBugz::Constants; @@ -111,7 +111,7 @@ sub revision { return { result => $result, attachment_id => $attachment->id, - attachment_link => correct_urlbase() . "attachment.cgi?id=" . $attachment->id + attachment_link => Bugzilla->localconfig->{urlbase} . "attachment.cgi?id=" . $attachment->id }; } -- cgit v1.2.3-24-g4f1b