diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-12-16 20:17:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-16 20:17:05 +0100 |
commit | 334bead74bc9c5e819f14946726eaad40986d636 (patch) | |
tree | e7ecf8d4eba2e6a046da8a9dc8828f35b75c7428 /extensions/BzAPI/lib/Resources | |
parent | 49e0df0d4e1b2f25be4ab36660dac5e47768c9a1 (diff) | |
download | bugzilla-334bead74bc9c5e819f14946726eaad40986d636.tar.gz bugzilla-334bead74bc9c5e819f14946726eaad40986d636.tar.xz |
Bug 1403777 - Migrate urlbase from params to localconfig
Diffstat (limited to 'extensions/BzAPI/lib/Resources')
-rw-r--r-- | extensions/BzAPI/lib/Resources/Bugzilla.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BzAPI/lib/Resources/Bugzilla.pm b/extensions/BzAPI/lib/Resources/Bugzilla.pm index accbf71a7..6e350d839 100644 --- a/extensions/BzAPI/lib/Resources/Bugzilla.pm +++ b/extensions/BzAPI/lib/Resources/Bugzilla.pm @@ -18,7 +18,7 @@ use Bugzilla::Keyword; use Bugzilla::Product; use Bugzilla::Status; use Bugzilla::Field; -use Bugzilla::Util qw(correct_urlbase); +use Bugzilla::Util (); use Bugzilla::Extension::BzAPI::Constants; @@ -143,7 +143,7 @@ sub get_configuration { sub get_empty { my ($self) = @_; return { - ref => $self->type('string', correct_urlbase() . "bzapi/"), + ref => $self->type('string', Bugzilla->localconfig->{urlbase} . "bzapi/"), documentation => $self->type('string', BZAPI_DOC), version => $self->type('string', BUGZILLA_VERSION) }; |